Advertisement
GregLeblanc

Untitled

Jul 5th, 2023
121
0
31 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.73 KB | None | 0 0
  1. $ sudo 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. ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
  9. ACCEPT all -- anywhere anywhere
  10. INPUT_direct all -- anywhere anywhere
  11. INPUT_ZONES_SOURCE all -- anywhere anywhere
  12. INPUT_ZONES all -- anywhere anywhere
  13. DROP all -- anywhere anywhere ctstate INVALID
  14. REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
  15.  
  16. Chain FORWARD (policy ACCEPT)
  17. target prot opt source destination
  18. ACCEPT all -- anywhere 192.168.122.0/24 ctstate RELATED,ESTABLISHED
  19. ACCEPT all -- 192.168.122.0/24 anywhere
  20. ACCEPT all -- anywhere anywhere
  21. REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
  22. REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
  23. ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
  24. ACCEPT all -- anywhere anywhere
  25. FORWARD_direct all -- anywhere anywhere
  26. FORWARD_IN_ZONES_SOURCE all -- anywhere anywhere
  27. FORWARD_IN_ZONES all -- anywhere anywhere
  28. FORWARD_OUT_ZONES_SOURCE all -- anywhere anywhere
  29. FORWARD_OUT_ZONES all -- anywhere anywhere
  30. DROP all -- anywhere anywhere ctstate INVALID
  31. REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
  32.  
  33. Chain OUTPUT (policy ACCEPT)
  34. target prot opt source destination
  35. ACCEPT udp -- anywhere anywhere udp dpt:bootpc
  36. ACCEPT all -- anywhere anywhere
  37. OUTPUT_direct all -- anywhere anywhere
  38.  
  39. Chain FORWARD_IN_ZONES (1 references)
  40. target prot opt source destination
  41. FWDI_public all -- anywhere anywhere [goto]
  42. FWDI_public all -- anywhere anywhere [goto]
  43.  
  44. Chain FORWARD_IN_ZONES_SOURCE (1 references)
  45. target prot opt source destination
  46.  
  47. Chain FORWARD_OUT_ZONES (1 references)
  48. target prot opt source destination
  49. FWDO_public all -- anywhere anywhere [goto]
  50. FWDO_public all -- anywhere anywhere [goto]
  51.  
  52. Chain FORWARD_OUT_ZONES_SOURCE (1 references)
  53. target prot opt source destination
  54.  
  55. Chain FORWARD_direct (1 references)
  56. target prot opt source destination
  57.  
  58. Chain FWDI_public (2 references)
  59. target prot opt source destination
  60. FWDI_public_log all -- anywhere anywhere
  61. FWDI_public_deny all -- anywhere anywhere
  62. FWDI_public_allow all -- anywhere anywhere
  63. ACCEPT icmp -- anywhere anywhere
  64.  
  65. Chain FWDI_public_allow (1 references)
  66. target prot opt source destination
  67.  
  68. Chain FWDI_public_deny (1 references)
  69. target prot opt source destination
  70.  
  71. Chain FWDI_public_log (1 references)
  72. target prot opt source destination
  73.  
  74. Chain FWDO_public (2 references)
  75. target prot opt source destination
  76. FWDO_public_log all -- anywhere anywhere
  77. FWDO_public_deny all -- anywhere anywhere
  78. FWDO_public_allow all -- anywhere anywhere
  79.  
  80. Chain FWDO_public_allow (1 references)
  81. target prot opt source destination
  82.  
  83. Chain FWDO_public_deny (1 references)
  84. target prot opt source destination
  85.  
  86. Chain FWDO_public_log (1 references)
  87. target prot opt source destination
  88.  
  89. Chain INPUT_ZONES (1 references)
  90. target prot opt source destination
  91. IN_public all -- anywhere anywhere [goto]
  92. IN_public all -- anywhere anywhere [goto]
  93.  
  94. Chain INPUT_ZONES_SOURCE (1 references)
  95. target prot opt source destination
  96.  
  97. Chain INPUT_direct (1 references)
  98. target prot opt source destination
  99.  
  100. Chain IN_public (2 references)
  101. target prot opt source destination
  102. IN_public_log all -- anywhere anywhere
  103. IN_public_deny all -- anywhere anywhere
  104. IN_public_allow all -- anywhere anywhere
  105. ACCEPT icmp -- anywhere anywhere
  106.  
  107. Chain IN_public_allow (1 references)
  108. target prot opt source destination
  109. ACCEPT tcp -- anywhere anywhere tcp dpt:ssh ctstate NEW,UNTRACKED
  110. ACCEPT tcp -- anywhere anywhere tcp dpt:x11 ctstate NEW,UNTRACKED
  111. ACCEPT tcp -- anywhere anywhere tcp dpt:ca-1 ctstate NEW,UNTRACKED
  112. ACCEPT tcp -- anywhere anywhere tcp dpt:ca-2 ctstate NEW,UNTRACKED
  113. ACCEPT tcp -- anywhere anywhere tcp dpt:pvaccess ctstate NEW,UNTRACKED
  114. ACCEPT tcp -- anywhere anywhere tcp dpt:5076 ctstate NEW,UNTRACKED
  115.  
  116. Chain IN_public_deny (1 references)
  117. target prot opt source destination
  118.  
  119. Chain IN_public_log (1 references)
  120. target prot opt source destination
  121.  
  122. Chain OUTPUT_direct (1 references)
  123. target prot opt source destination
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement