daily pastebin goal
15%
SHARE
TWEET

Untitled

a guest Oct 24th, 2015 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ sudo iptables -vnL
  2. Chain INPUT (policy DROP 0 packets, 0 bytes)
  3.  pkts bytes target     prot opt in     out     source               destination        
  4.    48  5544 ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0          
  5.   752 59077 ACCEPT     all  --  p255p1 *       0.0.0.0/0            0.0.0.0/0          
  6.   147 12288 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0          
  7.   533 62949 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:22
  8.     1    64 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:3001
  9.    50  5730 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:10000
  10.   366  113K ACCEPT     all  --  em1    *       0.0.0.0/0            0.0.0.0/0            state RELATED,ESTABLISHED
  11.    12   539 LOGGING    all  --  em1    *       0.0.0.0/0            0.0.0.0/0          
  12.  
  13. Chain FORWARD (policy DROP 0 packets, 0 bytes)
  14.  pkts bytes target     prot opt in     out     source               destination        
  15. 27328 2384K ACCEPT     all  --  p255p1 em1     0.0.0.0/0            0.0.0.0/0          
  16. 18592   48M ACCEPT     all  --  em1    p255p1  0.0.0.0/0            0.0.0.0/0            state RELATED,ESTABLISHED
  17.  
  18. Chain OUTPUT (policy ACCEPT 1913 packets, 362K bytes)
  19.  pkts bytes target     prot opt in     out     source               destination        
  20.  
  21. Chain LOGGING (1 references)
  22.  pkts bytes target     prot opt in     out     source               destination        
  23.    12   539 LOG        all  --  em1    *       0.0.0.0/0            0.0.0.0/0            limit: avg 5/sec burst 10 LOG flags 0 level 4
  24.    12   539 DROP       all  --  em1    *       0.0.0.0/0            0.0.0.0/0  
  25.  
  26.  
  27.  
  28. $ sudo iptables -t nat -vnL
  29. Chain PREROUTING (policy ACCEPT 1484 packets, 128K bytes)
  30.  pkts bytes target     prot opt in     out     source               destination        
  31.     0     0 DNAT       tcp  --  eth0   *       0.0.0.0/0            0.0.0.0/0            tcp dpt:3001 to:10.255.230.231:3001
  32.  
  33. Chain INPUT (policy ACCEPT 717 packets, 56611 bytes)
  34.  pkts bytes target     prot opt in     out     source               destination        
  35.  
  36. Chain OUTPUT (policy ACCEPT 572 packets, 45585 bytes)
  37.  pkts bytes target     prot opt in     out     source               destination        
  38.  
  39. Chain POSTROUTING (policy ACCEPT 35 packets, 2742 bytes)
  40.  pkts bytes target     prot opt in     out     source               destination        
  41.  1230  100K MASQUERADE  all  --  *      em1     0.0.0.0/0            0.0.0.0/0
RAW Paste Data
Top