sudevdev

Untitled

Jul 1st, 2013
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.44 KB | None | 0 0
  1. service iptables status
  2. Table: nat
  3. Chain PREROUTING (policy ACCEPT)
  4. num target prot opt source destination
  5.  
  6. Chain POSTROUTING (policy ACCEPT)
  7. num target prot opt source destination
  8. 1 MASQUERADE tcp -- 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
  9. 2 MASQUERADE udp -- 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
  10. 3 MASQUERADE all -- 192.168.122.0/24 !192.168.122.0/24
  11.  
  12. Chain OUTPUT (policy ACCEPT)
  13. num target prot opt source destination
  14.  
  15. Table: mangle
  16. Chain PREROUTING (policy ACCEPT)
  17. num target prot opt source destination
  18.  
  19. Chain INPUT (policy ACCEPT)
  20. num target prot opt source destination
  21.  
  22. Chain FORWARD (policy ACCEPT)
  23. num target prot opt source destination
  24.  
  25. Chain OUTPUT (policy ACCEPT)
  26. num target prot opt source destination
  27.  
  28. Chain POSTROUTING (policy ACCEPT)
  29. num target prot opt source destination
  30. 1 CHECKSUM udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:68 CHECKSUM fill
  31.  
  32. Table: filter
  33. Chain INPUT (policy ACCEPT)
  34. num target prot opt source destination
  35. 1 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:53
  36. 2 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:53
  37. 3 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:67
  38. 4 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:67
  39. 5 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
  40. 6 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
  41. 7 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:8775
  42.  
  43. Chain FORWARD (policy DROP)
  44. num target prot opt source destination
  45. 1 ACCEPT all -- 0.0.0.0/0 192.168.122.0/24 state RELATED,ESTABLISHED
  46. 2 ACCEPT all -- 192.168.122.0/24 0.0.0.0/0
  47. 3 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
  48. 4 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
  49. 5 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
  50.  
  51. Chain OUTPUT (policy ACCEPT)
  52. num target prot opt source destination
Advertisement
Add Comment
Please, Sign In to add comment