Advertisement
kheeper

iptables

Feb 16th, 2012
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.88 KB | None | 0 0
  1. # iptables -L --line-numbers
  2. Chain INPUT (policy ACCEPT)
  3. num target prot opt source destination
  4. 1 ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
  5. 2 ACCEPT tcp -- anywhere anywhere tcp dpt:1050
  6. 3 DROP all -- anywhere anywhere
  7.  
  8. Chain FORWARD (policy ACCEPT)
  9. num target prot opt source destination
  10. 1 ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
  11. 2 ACCEPT udp -- anywhere Set PR mark for socket 0x6 = 230
  12. Set PR mark for socket 0x6 = 230
  13. Set PR mark for socket 0x6 = 230
  14. Set PR mark for socket 0x6 = 230
  15. Set PR mark for socket 0x6 = 230
  16. Set PR mark for socket 0x6 = 230
  17. 10.0.0.140 udp dpt:34001
  18. 3 ACCEPT tcp -- anywhere Set PR mark for socket 0x6 = 230
  19. Set PR mark for socket 0x6 = 230
  20. Set PR mark for socket 0x6 = 230
  21. Set PR mark for socket 0x6 = 230
  22. Set PR mark for socket 0x6 = 230
  23. Set PR mark for socket 0x6 = 230
  24. 10.0.0.140 tcp dpt:34001
  25. 4 ACCEPT udp -- anywhere Set PR mark for socket 0x6 = 230
  26. Set PR mark for socket 0x6 = 230
  27. Set PR mark for socket 0x6 = 230
  28. Set PR mark for socket 0x6 = 230
  29. Set PR mark for socket 0x6 = 230
  30. Set PR mark for socket 0x6 = 230
  31. 10.0.0.140 udp dpt:34000
  32. 5 ACCEPT tcp -- anywhere Set PR mark for socket 0x6 = 230
  33. Set PR mark for socket 0x6 = 230
  34. Set PR mark for socket 0x6 = 230
  35. Set PR mark for socket 0x6 = 230
  36. Set PR mark for socket 0x6 = 230
  37. Set PR mark for socket 0x6 = 230
  38. 10.0.0.140 tcp dpt:34000
  39. 6 TCPMSS tcp -- anywhere anywhere tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU
  40. 7 DROP udp -- Set PR mark for socket 0x6 = 230
  41. s10.nmk01.com.ar/24 Set PR mark for socket 0x6 = 230
  42. s10.nmk01.com.ar/24udp dpts:1:65535
  43. 8 DROP tcp -- Set PR mark for socket 0x6 = 230
  44. s10.nmk01.com.ar/24 Set PR mark for socket 0x6 = 230
  45. s10.nmk01.com.ar/24tcp dpts:tcpmux:65535
  46. 9 DROP udp -- Set PR mark for socket 0x6 = 230
  47. 188-215-42-0.tgneamt.city-net.ro/24 Set PR mark for socket 0x6 = 230
  48. 188-215-42-0.tgneamt.city-net.ro/24udp dpts:1:65535
  49. 10 DROP tcp -- Set PR mark for socket 0x6 = 230
  50. 188-215-42-0.tgneamt.city-net.ro/24 Set PR mark for socket 0x6 = 230
  51. 188-215-42-0.tgneamt.city-net.ro/24tcp dpts:tcpmux:65535
  52. 11 DROP icmp -- anywhere anywhere icmp echo-request state NEW
  53. 12 ACCEPT tcp -- anywhere mygateway1.ar7 tcp dpt:telnet
  54.  
  55. Chain OUTPUT (policy ACCEPT)
  56. num target prot opt source destination
  57. 1 DROP icmp -- anywhere anywhere icmp destination-unreachable
  58. 2 DROP icmp -- anywhere anywhere state INVALID
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement