Advertisement
sibeth

iptables compute1

Dec 4th, 2013
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. hain INPUT (policy ACCEPT)
  2. target prot opt source destination
  3. ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:53
  4. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:53
  5. ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:67
  6. ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:67
  7.  
  8. Chain FORWARD (policy ACCEPT)
  9. target prot opt source destination
  10. ACCEPT all -- 0.0.0.0/0 192.168.122.0/24 ctstate RELATED,ESTABLISHED
  11. ACCEPT all -- 192.168.122.0/24 0.0.0.0/0
  12. ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
  13. REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
  14. REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement