Skip to content

Instantly share code, notes, and snippets.

@sysradium
Created March 6, 2016 21:26
Show Gist options
  • Save sysradium/d6fbc2f897a7b9fcc6c6 to your computer and use it in GitHub Desktop.
Save sysradium/d6fbc2f897a7b9fcc6c6 to your computer and use it in GitHub Desktop.
socat TCP-LISTEN:80,fork TCP:202.54.1.5:80
socat -d -d -lmlocal2 \
TCP4-LISTEN:80,bind=myaddr1,su=nobody,fork,range=10.0.0.0/8,reuseaddr \
TCP4:www.nixcraft.net.in:80,bind=myaddr2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment