Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@chef ~]# iptables -L
- Chain INPUT (policy ACCEPT)
- target prot opt source destination
- ACCEPT udp -- anywhere anywhere udp dpt:domain
- ACCEPT tcp -- anywhere anywhere tcp dpt:domain
- ACCEPT udp -- anywhere anywhere udp dpt:bootps
- ACCEPT tcp -- anywhere anywhere tcp dpt:bootps
- ACCEPT udp -- anywhere anywhere udp dpt:domain
- ACCEPT tcp -- anywhere anywhere tcp dpt:domain
- ACCEPT udp -- anywhere anywhere udp dpt:bootps
- ACCEPT tcp -- anywhere anywhere tcp dpt:bootps
- ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
- ACCEPT icmp -- anywhere anywhere
- ACCEPT all -- anywhere anywhere
- ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
- REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
- ACCEPT tcp -- anywhere anywhere tcp dpt:mysql
- ACCEPT tcp -- anywhere anywhere tcp dpt:mysql
- Chain FORWARD (policy ACCEPT)
- target prot opt source destination
- ACCEPT all -- anywhere 192.168.122.0/24 state RELATED,ESTABLISHED
- ACCEPT all -- 192.168.122.0/24 anywhere
- ACCEPT all -- anywhere anywhere
- REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
- REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
- ACCEPT all -- anywhere 192.168.122.0/24 state RELATED,ESTABLISHED
- ACCEPT all -- 192.168.122.0/24 anywhere
- ACCEPT all -- anywhere anywhere
- REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
- REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
- REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
- Chain OUTPUT (policy ACCEPT)
- target prot opt source destination
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement