Guest User

iptables nat

a guest
Sep 28th, 2018
416
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.37 KB | None | 0 0
  1. Chain PREROUTING (policy ACCEPT)
  2. target prot opt source destination
  3. PREROUTING_direct all -- anywhere anywhere
  4. PREROUTING_ZONES_SOURCE all -- anywhere anywhere
  5. PREROUTING_ZONES all -- anywhere anywhere
  6. DOCKER all -- anywhere anywhere ADDRTYPE match dst-type LOCAL
  7.  
  8. Chain INPUT (policy ACCEPT)
  9. target prot opt source destination
  10.  
  11. Chain OUTPUT (policy ACCEPT)
  12. target prot opt source destination
  13. OUTPUT_direct all -- anywhere anywhere
  14. DOCKER all -- anywhere !loopback/8 ADDRTYPE match dst-type LOCAL
  15.  
  16. Chain POSTROUTING (policy ACCEPT)
  17. target prot opt source destination
  18. RETURN all -- 192.168.122.0/24 base-address.mcast.net/24
  19. RETURN all -- 192.168.122.0/24 255.255.255.255
  20. MASQUERADE tcp -- 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
  21. MASQUERADE udp -- 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
  22. MASQUERADE all -- 192.168.122.0/24 !192.168.122.0/24
  23. MASQUERADE all -- 172.17.0.0/16 anywhere
  24. POSTROUTING_direct all -- anywhere anywhere
  25. POSTROUTING_ZONES_SOURCE all -- anywhere anywhere
  26. POSTROUTING_ZONES all -- anywhere anywhere
  27.  
  28. Chain DOCKER (2 references)
  29. target prot opt source destination
  30. RETURN all -- anywhere anywhere
  31.  
  32. Chain OUTPUT_direct (1 references)
  33. target prot opt source destination
  34.  
  35. Chain POSTROUTING_ZONES (1 references)
  36. target prot opt source destination
  37. POST_internal all -- anywhere anywhere [goto]
  38. POST_cameras all -- anywhere anywhere [goto]
  39. POST_internal all -- anywhere anywhere [goto]
  40.  
  41. Chain POSTROUTING_ZONES_SOURCE (1 references)
  42. target prot opt source destination
  43. POST_cameras all -- anywhere 192.168.1.4 [goto]
  44.  
  45. Chain POSTROUTING_direct (1 references)
  46. target prot opt source destination
  47.  
  48. Chain POST_cameras (2 references)
  49. target prot opt source destination
  50. POST_cameras_log all -- anywhere anywhere
  51. POST_cameras_deny all -- anywhere anywhere
  52. POST_cameras_allow all -- anywhere anywhere
  53.  
  54. Chain POST_cameras_allow (1 references)
  55. target prot opt source destination
  56.  
  57. Chain POST_cameras_deny (1 references)
  58. target prot opt source destination
  59.  
  60. Chain POST_cameras_log (1 references)
  61. target prot opt source destination
  62.  
  63. Chain POST_internal (2 references)
  64. target prot opt source destination
  65. POST_internal_log all -- anywhere anywhere
  66. POST_internal_deny all -- anywhere anywhere
  67. POST_internal_allow all -- anywhere anywhere
  68.  
  69. Chain POST_internal_allow (1 references)
  70. target prot opt source destination
  71.  
  72. Chain POST_internal_deny (1 references)
  73. target prot opt source destination
  74.  
  75. Chain POST_internal_log (1 references)
  76. target prot opt source destination
  77.  
  78. Chain PREROUTING_ZONES (1 references)
  79. target prot opt source destination
  80. PRE_internal all -- anywhere anywhere [goto]
  81. PRE_cameras all -- anywhere anywhere [goto]
  82. PRE_internal all -- anywhere anywhere [goto]
  83.  
  84. Chain PREROUTING_ZONES_SOURCE (1 references)
  85. target prot opt source destination
  86. PRE_cameras all -- 192.168.1.4 anywhere [goto]
  87.  
  88. Chain PREROUTING_direct (1 references)
  89. target prot opt source destination
  90.  
  91. Chain PRE_cameras (2 references)
  92. target prot opt source destination
  93. PRE_cameras_log all -- anywhere anywhere
  94. PRE_cameras_deny all -- anywhere anywhere
  95. PRE_cameras_allow all -- anywhere anywhere
  96.  
  97. Chain PRE_cameras_allow (1 references)
  98. target prot opt source destination
  99.  
  100. Chain PRE_cameras_deny (1 references)
  101. target prot opt source destination
  102.  
  103. Chain PRE_cameras_log (1 references)
  104. target prot opt source destination
  105.  
  106. Chain PRE_internal (2 references)
  107. target prot opt source destination
  108. PRE_internal_log all -- anywhere anywhere
  109. PRE_internal_deny all -- anywhere anywhere
  110. PRE_internal_allow all -- anywhere anywhere
  111.  
  112. Chain PRE_internal_allow (1 references)
  113. target prot opt source destination
  114.  
  115. Chain PRE_internal_deny (1 references)
  116. target prot opt source destination
  117.  
  118. Chain PRE_internal_log (1 references)
  119. target prot opt source destination
Advertisement
Add Comment
Please, Sign In to add comment