Created
October 29, 2013 20:00
-
-
Save ng/7221538 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
[root@adtrap ~]# iptables -t nat -nL | |
Chain PREROUTING (policy ACCEPT) | |
target prot opt source destination | |
REDIRECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 redir ports 3128 | |
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:8176 to:192.168.211.7 | |
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:1723 to:192.168.211.200 | |
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:47 to:192.168.211.200 | |
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:51413 to:192.168.211.7 | |
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:5006 to:192.168.211.200 | |
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:5000 to:192.168.211.200 | |
Chain INPUT (policy ACCEPT) | |
target prot opt source destination | |
Chain OUTPUT (policy ACCEPT) | |
target prot opt source destination | |
Chain POSTROUTING (policy ACCEPT) | |
target prot opt source destination | |
MASQUERADE all -- 0.0.0.0/0 0.0.0.0/0 | |
[root@adtrap ~]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment