Created
May 16, 2011 10:04
-
-
Save radixvinni/974178 to your computer and use it in GitHub Desktop.
iptables add rule to route port 3899(radmin) to 10.0.1.196
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 -s 195.230.96.32 -d 91.206.57.66 -i eth0 -p tcp -m tcp --dport 3899 -j DNAT --to-destination 10.0.1.196:3899 | |
iptables -t filter -I RH-Firewall-1-INPUT 10 -d 10.0.1.222 -p tcp -m tcp --dport 80 -j ACCEPT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment