Created
September 15, 2019 13:05
-
-
Save DerPauli/623729c309e33d46069f1996f6044626 to your computer and use it in GitHub Desktop.
Reroute port 80 to 3000
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 -p tcp --dport 80 -j REDIRECT --to-port 3000 | |
sudo iptables-save |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment