Skip to content

Instantly share code, notes, and snippets.

@jeremija
Created February 18, 2016 14:54
Show Gist options
  • Save jeremija/30e082131e6d9de42f70 to your computer and use it in GitHub Desktop.
Save jeremija/30e082131e6d9de42f70 to your computer and use it in GitHub Desktop.
forward port 8080 to port 80
sudo socat tcp-listen:80,reuseaddr,fork tcp:localhost:8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment