Created
April 22, 2016 11:11
-
-
Save afelicioni/805cf76a85e2dee10df9dd4c543d454a to your computer and use it in GitHub Desktop.
iptables port redirect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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