Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.30 KB | None | 0 0
  1. $ sudo iptables -L
  2. Chain INPUT (policy ACCEPT)
  3. target     prot opt source               destination        
  4. ACCEPT     all  --  anywhere             anywhere            
  5. REJECT     all  --  loopback/8           anywhere             reject-with icmp-port-unreachable
  6. ACCEPT     icmp --  anywhere             anywhere             icmp any
  7. FILTERS    all  --  anywhere             anywhere            
  8.  
  9. Chain FORWARD (policy DROP)
  10. target     prot opt source               destination        
  11. DOCKER-USER  all  --  anywhere             anywhere            
  12. DOCKER-ISOLATION-STAGE-1  all  --  anywhere             anywhere            
  13. ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
  14. DOCKER     all  --  anywhere             anywhere            
  15. ACCEPT     all  --  anywhere             anywhere            
  16. ACCEPT     all  --  anywhere             anywhere            
  17. ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
  18. DOCKER     all  --  anywhere             anywhere            
  19. ACCEPT     all  --  anywhere             anywhere            
  20. ACCEPT     all  --  anywhere             anywhere            
  21. ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
  22. DOCKER     all  --  anywhere             anywhere            
  23. ACCEPT     all  --  anywhere             anywhere            
  24. ACCEPT     all  --  anywhere             anywhere            
  25.  
  26. Chain OUTPUT (policy ACCEPT)
  27. target     prot opt source               destination        
  28.  
  29. Chain DOCKER (3 references)
  30. target     prot opt source               destination        
  31. ACCEPT     tcp  --  anywhere             172.19.0.4           tcp dpt:3000
  32. ACCEPT     tcp  --  anywhere             172.17.0.3           tcp dpt:smtp
  33.  
  34. Chain DOCKER-ISOLATION-STAGE-1 (1 references)
  35. target     prot opt source               destination        
  36. DOCKER-ISOLATION-STAGE-2  all  --  anywhere             anywhere            
  37. DOCKER-ISOLATION-STAGE-2  all  --  anywhere             anywhere            
  38. DOCKER-ISOLATION-STAGE-2  all  --  anywhere             anywhere            
  39. RETURN     all  --  anywhere             anywhere            
  40.  
  41. Chain DOCKER-ISOLATION-STAGE-2 (3 references)
  42. target     prot opt source               destination        
  43. DROP       all  --  anywhere             anywhere            
  44. DROP       all  --  anywhere             anywhere            
  45. DROP       all  --  anywhere             anywhere            
  46. RETURN     all  --  anywhere             anywhere            
  47.  
  48. Chain DOCKER-USER (1 references)
  49. target     prot opt source               destination        
  50. FILTERS    all  --  anywhere             anywhere            
  51.  
  52. Chain FILTERS (2 references)
  53. target     prot opt source               destination        
  54. ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
  55. ACCEPT     tcp  --  anywhere             anywhere             state NEW tcp dpt:ssh
  56. ACCEPT     tcp  --  anywhere             anywhere             state NEW tcp dpt:http
  57. ACCEPT     tcp  --  anywhere             anywhere             state NEW tcp dpt:https
  58. ACCEPT     tcp  --  anywhere             anywhere             state NEW tcp dpt:urd
  59. REJECT     all  --  anywhere             anywhere             reject-with icmp-host-prohibited
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement