Advertisement
nnsense

iptables-nat

Jun 23rd, 2015
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.18 KB | None | 0 0
  1. # iptables -t nat -L -n
  2.  
  3. Chain PREROUTING (policy ACCEPT)
  4. target     prot opt source               destination        
  5. PREROUTING_direct  all  --  0.0.0.0/0            0.0.0.0/0          
  6. PREROUTING_ZONES_SOURCE  all  --  0.0.0.0/0            0.0.0.0/0          
  7. PREROUTING_ZONES  all  --  0.0.0.0/0            0.0.0.0/0          
  8.  
  9. Chain INPUT (policy ACCEPT)
  10. target     prot opt source               destination        
  11.  
  12. Chain OUTPUT (policy ACCEPT)
  13. target     prot opt source               destination        
  14. OUTPUT_direct  all  --  0.0.0.0/0            0.0.0.0/0          
  15.  
  16. Chain POSTROUTING (policy ACCEPT)
  17. target     prot opt source               destination        
  18. POSTROUTING_direct  all  --  0.0.0.0/0            0.0.0.0/0          
  19. POSTROUTING_ZONES_SOURCE  all  --  0.0.0.0/0            0.0.0.0/0          
  20. POSTROUTING_ZONES  all  --  0.0.0.0/0            0.0.0.0/0          
  21.  
  22. Chain OUTPUT_direct (1 references)
  23. target     prot opt source               destination        
  24.  
  25. Chain POSTROUTING_ZONES (1 references)
  26. target     prot opt source               destination        
  27. POST_public  all  --  0.0.0.0/0            0.0.0.0/0           [goto]
  28. POST_public  all  --  0.0.0.0/0            0.0.0.0/0           [goto]
  29.  
  30. Chain POSTROUTING_ZONES_SOURCE (1 references)
  31. target     prot opt source               destination        
  32.  
  33. Chain POSTROUTING_direct (1 references)
  34. target     prot opt source               destination        
  35.  
  36. Chain POST_public (2 references)
  37. target     prot opt source               destination        
  38. POST_public_log  all  --  0.0.0.0/0            0.0.0.0/0          
  39. POST_public_deny  all  --  0.0.0.0/0            0.0.0.0/0          
  40. POST_public_allow  all  --  0.0.0.0/0            0.0.0.0/0          
  41.  
  42. Chain POST_public_allow (1 references)
  43. target     prot opt source               destination        
  44.  
  45. Chain POST_public_deny (1 references)
  46. target     prot opt source               destination        
  47.  
  48. Chain POST_public_log (1 references)
  49. target     prot opt source               destination        
  50.  
  51. Chain PREROUTING_ZONES (1 references)
  52. target     prot opt source               destination        
  53. PRE_public  all  --  0.0.0.0/0            0.0.0.0/0           [goto]
  54. PRE_public  all  --  0.0.0.0/0            0.0.0.0/0           [goto]
  55.  
  56. Chain PREROUTING_ZONES_SOURCE (1 references)
  57. target     prot opt source               destination        
  58.  
  59. Chain PREROUTING_direct (1 references)
  60. target     prot opt source               destination        
  61.  
  62. Chain PRE_public (2 references)
  63. target     prot opt source               destination        
  64. PRE_public_log  all  --  0.0.0.0/0            0.0.0.0/0          
  65. PRE_public_deny  all  --  0.0.0.0/0            0.0.0.0/0          
  66. PRE_public_allow  all  --  0.0.0.0/0            0.0.0.0/0          
  67.  
  68. Chain PRE_public_allow (1 references)
  69. target     prot opt source               destination        
  70. DNAT       tcp  --  0.0.0.0/0            0.0.0.0/0            mark match 0x64 to::22
  71.  
  72. Chain PRE_public_deny (1 references)
  73. target     prot opt source               destination        
  74.  
  75. Chain PRE_public_log (1 references)
  76. target     prot opt source               destination
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement