Created
November 2, 2017 03:16
-
-
Save codexss/51026616b79bb704e9e9b8461c08eced to your computer and use it in GitHub Desktop.
PORT FORWARD
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 -m tcp --dport 80 -j REDIRECT --to-ports 8388 | |
iptables -t nat -A PREROUTING -p udp -m udp --dport 80 -j REDIRECT --to-ports 8388 | |
iptables -t nat -A PREROUTING -p tcp -m tcp --dport 443 -j REDIRECT --to-ports 8388 | |
iptables -t nat -A PREROUTING -p udp -m udp --dport 443 -j REDIRECT --to-ports 8388 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment