Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 1.57 KB | None | 0 0
  1. [stanis@nav www/html] % sudo iptables -L                                                                           [20:17:52]
  2. Chain INPUT (policy ACCEPT)
  3. target     prot opt SOURCE               destination        
  4. ACCEPT     ALL  --  anywhere             anywhere            state RELATED,ESTABLISHED
  5. ACCEPT     icmp --  anywhere             anywhere            
  6. ACCEPT     ALL  --  anywhere             anywhere            
  7. ACCEPT     ALL  --  anywhere             anywhere            
  8. ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ssh
  9. REJECT     ALL  --  anywhere             anywhere            reject-with icmp-host-prohibited
  10. ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:http
  11. ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:http
  12. ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:http
  13.  
  14. Chain FORWARD (policy ACCEPT)
  15. target     prot opt SOURCE               destination        
  16. ACCEPT     ALL  --  anywhere             anywhere            state RELATED,ESTABLISHED
  17. ACCEPT     icmp --  anywhere             anywhere            
  18. ACCEPT     ALL  --  anywhere             anywhere            
  19. ACCEPT     ALL  --  anywhere             anywhere            
  20. REJECT     ALL  --  anywhere             anywhere            reject-with icmp-host-prohibited
  21. ACCEPT     ALL  --  192.168.0.0/16       anywhere            
  22.  
  23. Chain OUTPUT (policy ACCEPT)
  24. target     prot opt SOURCE               destination        
  25. ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:http
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement