byghis

vim iptables.without-shared-connection.txt

Sep 17th, 2012
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. Chain INPUT (policy ACCEPT)
  2. target prot opt source destination
  3. ACCEPT udp -- anywhere anywhere udp dpt:domain
  4. ACCEPT tcp -- anywhere anywhere tcp dpt:domain
  5. ACCEPT udp -- anywhere anywhere udp dpt:bootps
  6. ACCEPT tcp -- anywhere anywhere tcp dpt:bootps
  7.  
  8. Chain FORWARD (policy ACCEPT)
  9. target prot opt source destination
  10. ACCEPT all -- anywhere anywhere PHYSDEV match --physdev-out vif13.0 --physdev-is-bridged
  11. ACCEPT all -- anywhere anywhere PHYSDEV match --physdev-in vif13.0 --physdev-is-bridged
  12. ACCEPT all -- anywhere 192.168.122.0/24 state RELATED,ESTABLISHED
  13. ACCEPT all -- 192.168.122.0/24 anywhere
  14. ACCEPT all -- anywhere anywhere
  15. REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
  16. REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
  17.  
  18. Chain OUTPUT (policy ACCEPT)
  19. target prot opt source destination
Advertisement
Add Comment
Please, Sign In to add comment