Created
February 27, 2012 19:05
-
-
Save jeffsu/1926295 to your computer and use it in GitHub Desktop.
iptable
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
0.0.0.0 10.0.1.1 0.0.0.0 UG 0 0 0 eth0 | |
10.0.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 | |
10.10.10.0 0.0.0.0 255.255.255.0 U 0 0 0 vboxnet0 | |
33.33.33.0 0.0.0.0 255.255.255.0 U 0 0 0 vboxnet1 | |
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 | |
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 ACCEPT udp -- anywhere anywhere udp dpt:domain
2 ACCEPT tcp -- anywhere anywhere tcp dpt:domain
3 ACCEPT udp -- anywhere anywhere udp dpt:bootps
4 ACCEPT tcp -- anywhere anywhere tcp dpt:bootps
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
1 ACCEPT all -- anywhere 192.168.122.0/24 state RELATED,ESTABLISHED
2 ACCEPT all -- 192.168.122.0/24 anywhere
3 ACCEPT all -- anywhere anywhere
4 REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
5 REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination