Created
January 30, 2013 23:59
-
-
Save razrichter/4678554 to your computer and use it in GitHub Desktop.
results of iptables
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@fog-0-1-1 ~]# iptables -L | |
Chain INPUT (policy ACCEPT) | |
target prot opt source destination | |
Chain FORWARD (policy DROP) | |
target prot opt source destination | |
EUCA_COUNTERS_OUT all -- anywhere anywhere | |
EUCA_COUNTERS_IN all -- anywhere anywhere | |
ACCEPT all -- anywhere anywhere ctstate ESTABLISHED | |
ACCEPT all -- anywhere !172.31.254.0/23 | |
9v3pbGDOaI1biqf34jLCSQ== all -- anywhere anywhere | |
ACCEPT all -- 172.31.254.224/27 172.31.254.224/27 | |
Chain OUTPUT (policy ACCEPT) | |
target prot opt source destination | |
Chain 9v3pbGDOaI1biqf34jLCSQ== (1 references) | |
target prot opt source destination | |
ACCEPT udp -- anywhere 172.31.254.224/27 udp | |
ACCEPT tcp -- anywhere 172.31.254.224/27 tcp dpt:ssh | |
ACCEPT tcp -- anywhere 172.31.254.224/27 tcp | |
ACCEPT icmp -- anywhere 172.31.254.224/27 icmp any | |
Chain EUCA_COUNTERS_IN (1 references) | |
target prot opt source destination | |
all -- anywhere 172.31.254.0/23 | |
all -- anywhere 172.31.254.242 | |
Chain EUCA_COUNTERS_OUT (1 references) | |
target prot opt source destination | |
all -- 172.31.254.0/23 anywhere | |
all -- 172.31.254.242 anywhere | |
[root@fog-0-1-1 ~]# iptables -L -t nat | |
Chain PREROUTING (policy ACCEPT) | |
target prot opt source destination | |
DNAT tcp -- anywhere 169.254.169.254 tcp dpt:http to:172.17.31.11:8773 | |
DNAT all -- anywhere 172.17.31.100 to:172.31.254.242 | |
Chain POSTROUTING (policy ACCEPT) | |
target prot opt source destination | |
SNAT all -- 172.31.254.242 anywhere to:172.17.31.100 | |
MASQUERADE all -- 172.31.254.0/23 !172.31.254.0/23 | |
Chain OUTPUT (policy ACCEPT) | |
target prot opt source destination | |
DNAT all -- anywhere 172.17.31.100 to:172.31.254.242 | |
[root@fog-0-1-1 ~]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment