Skip to content

Instantly share code, notes, and snippets.

@uurtech
Created June 16, 2020 12:26
Show Gist options
  • Save uurtech/ec5766f185005aeb3814f36b0fde8eac to your computer and use it in GitHub Desktop.
Save uurtech/ec5766f185005aeb3814f36b0fde8eac to your computer and use it in GitHub Desktop.
Forward port 80 to any port for users linux
sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment