Advertisement
Guest User

Untitled

a guest
Oct 1st, 2013
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. root@pentest:/home/krish# iptables -L
  2. Chain INPUT (policy ACCEPT)
  3. target prot opt source destination
  4. ACCEPT udp -- anywhere anywhere udp dpt:domain
  5. ACCEPT tcp -- anywhere anywhere tcp dpt:domain
  6. ACCEPT udp -- anywhere anywhere udp dpt:bootps
  7. ACCEPT tcp -- anywhere anywhere tcp dpt:bootps
  8.  
  9. Chain FORWARD (policy ACCEPT)
  10. target prot opt source destination
  11. ACCEPT all -- anywhere 192.168.122.0/24 state RELATED,ESTABLISHED
  12. ACCEPT all -- 192.168.122.0/24 anywhere
  13. ACCEPT all -- anywhere anywhere
  14. REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
  15. REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement