Last active
September 14, 2018 12:00
-
-
Save siddhuwarrier/6596356 to your computer and use it in GitHub Desktop.
Port forward from port 9000 to port 80 on an Ubuntu machine using IPtables (exposing Sonar on port 80)
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 -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 9000 | |
# iptables-save |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment