Created
October 14, 2017 12:20
-
-
Save kanatzidis/e32ad52e38b0d9def6c2c0faa4d63db9 to your computer and use it in GitHub Desktop.
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
sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3000 | |
Also put this (without sudo) in /etc/rc.local to run on reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment