Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@vertcos-api:/etc/mail# iptables -nvL
  2. Chain INPUT (policy DROP 5 packets, 208 bytes)
  3.  pkts bytes target     prot opt in     out     source               destination        
  4.    77  4084 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:25
  5. 3498K  589M f2b-sshd   tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            multiport dports 22
  6.   11M 2170M ufw-before-logging-input  all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  7.   11M 2170M ufw-before-input  all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  8. 2049K  111M ufw-after-input  all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  9. 1295K   73M ufw-after-logging-input  all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  10. 1295K   73M ufw-reject-input  all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  11. 1295K   73M ufw-track-input  all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  12.     0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp spt:587
  13.     0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp spt:25
  14.     0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:25 ctstate NEW,ESTABLISHED
  15.  
  16. Chain FORWARD (policy DROP 0 packets, 0 bytes)
  17.  pkts bytes target     prot opt in     out     source               destination        
  18.     0     0 ufw-before-logging-forward  all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  19.     0     0 ufw-before-forward  all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  20.     0     0 ufw-after-forward  all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  21.     0     0 ufw-after-logging-forward  all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  22.     0     0 ufw-reject-forward  all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  23.     0     0 ufw-track-forward  all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  24.  
  25. Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
  26.  pkts bytes target     prot opt in     out     source               destination        
  27. 9042K 3112M ufw-before-logging-output  all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  28. 9042K 3112M ufw-before-output  all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  29.  717K   55M ufw-after-output  all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  30.  717K   55M ufw-after-logging-output  all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  31.  717K   55M ufw-reject-output  all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  32.  717K   55M ufw-track-output  all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  33.     0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp spt:25
  34.     0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp spt:587
  35.     0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp spt:25 ctstate ESTABLISHED
  36.     0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:25
  37.  
  38. Chain f2b-sshd (1 references)
  39.  pkts bytes target     prot opt in     out     source               destination        
  40. 3385K  582M RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  41.  
  42. Chain ufw-after-forward (1 references)
  43.  pkts bytes target     prot opt in     out     source               destination        
  44.  
  45. Chain ufw-after-input (1 references)
  46.  pkts bytes target     prot opt in     out     source               destination        
  47.  1995  156K ufw-skip-to-policy-input  udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp dpt:137
  48.    10   280 ufw-skip-to-policy-input  udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp dpt:138
  49.  2094 97760 ufw-skip-to-policy-input  tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:139
  50.  750K   39M ufw-skip-to-policy-input  tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:445
  51.    14   566 ufw-skip-to-policy-input  udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp dpt:67
  52.     8   224 ufw-skip-to-policy-input  udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp dpt:68
  53.     0     0 ufw-skip-to-policy-input  all  --  *      *       0.0.0.0/0            0.0.0.0/0            ADDRTYPE match dst-type BROADCAST
  54.  
  55. Chain ufw-after-logging-forward (1 references)
  56.  pkts bytes target     prot opt in     out     source               destination        
  57.     0     0 LOG        all  --  *      *       0.0.0.0/0            0.0.0.0/0            limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "
  58.  
  59. Chain ufw-after-logging-input (1 references)
  60.  pkts bytes target     prot opt in     out     source               destination        
  61.  630K   35M LOG        all  --  *      *       0.0.0.0/0            0.0.0.0/0            limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "
  62.  
  63. Chain ufw-after-logging-output (1 references)
  64.  pkts bytes target     prot opt in     out     source               destination        
  65.  
  66. Chain ufw-after-output (1 references)
  67.  pkts bytes target     prot opt in     out     source               destination        
  68.  
  69. Chain ufw-before-forward (1 references)
  70.  pkts bytes target     prot opt in     out     source               destination        
  71.     0     0 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
  72.     0     0 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0            icmptype 3
  73.     0     0 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0            icmptype 4
  74.     0     0 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0            icmptype 11
  75.     0     0 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0            icmptype 12
  76.     0     0 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0            icmptype 8
  77.     0     0 ufw-user-forward  all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  78.  
  79. Chain ufw-before-input (1 references)
  80.  pkts bytes target     prot opt in     out     source               destination        
  81.  880K   68M ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0          
  82. 6834K 1951M ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
  83. 32892 1648K ufw-logging-deny  all  --  *      *       0.0.0.0/0            0.0.0.0/0            ctstate INVALID
  84. 32892 1648K DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0            ctstate INVALID
  85.     0     0 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0            icmptype 3
  86.     0     0 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0            icmptype 4
  87.     0     0 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0            icmptype 11
  88.     0     0 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0            icmptype 12
  89.  4571  207K ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0            icmptype 8
  90.     0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            udp spt:67 dpt:68
  91. 2793K  150M ufw-not-local  all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  92.     0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            224.0.0.251          udp dpt:5353
  93.     0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            239.255.255.250      udp dpt:1900
  94. 2793K  150M ufw-user-input  all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  95.  
  96. Chain ufw-before-logging-forward (1 references)
  97.  pkts bytes target     prot opt in     out     source               destination        
  98.  
  99. Chain ufw-before-logging-input (1 references)
  100.  pkts bytes target     prot opt in     out     source               destination        
  101.  
  102. Chain ufw-before-logging-output (1 references)
  103.  pkts bytes target     prot opt in     out     source               destination        
  104.  
  105. Chain ufw-before-output (1 references)
  106.  pkts bytes target     prot opt in     out     source               destination        
  107.  880K   68M ACCEPT     all  --  *      lo      0.0.0.0/0            0.0.0.0/0          
  108. 7446K 2990M ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
  109.  717K   55M ufw-user-output  all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  110.  
  111. Chain ufw-logging-allow (0 references)
  112.  pkts bytes target     prot opt in     out     source               destination        
  113.     0     0 LOG        all  --  *      *       0.0.0.0/0            0.0.0.0/0            limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW ALLOW] "
  114.  
  115. Chain ufw-logging-deny (2 references)
  116.  pkts bytes target     prot opt in     out     source               destination        
  117. 21385 1108K RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            ctstate INVALID limit: avg 3/min burst 10
  118.  1254 55752 LOG        all  --  *      *       0.0.0.0/0            0.0.0.0/0            limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "
  119.  
  120. Chain ufw-not-local (1 references)
  121.  pkts bytes target     prot opt in     out     source               destination        
  122. 2793K  150M RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            ADDRTYPE match dst-type LOCAL
  123.     0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            ADDRTYPE match dst-type MULTICAST
  124.     0     0 RETURN     all  --  *      *       0.0.0.0/0            0.0.0.0/0            ADDRTYPE match dst-type BROADCAST
  125.     0     0 ufw-logging-deny  all  --  *      *       0.0.0.0/0            0.0.0.0/0            limit: avg 3/min burst 10
  126.     0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  127.  
  128. Chain ufw-reject-forward (1 references)
  129.  pkts bytes target     prot opt in     out     source               destination        
  130.  
  131. Chain ufw-reject-input (1 references)
  132.  pkts bytes target     prot opt in     out     source               destination        
  133.  
  134. Chain ufw-reject-output (1 references)
  135.  pkts bytes target     prot opt in     out     source               destination        
  136.  
  137. Chain ufw-skip-to-policy-forward (0 references)
  138.  pkts bytes target     prot opt in     out     source               destination        
  139.     0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  140.  
  141. Chain ufw-skip-to-policy-input (7 references)
  142.  pkts bytes target     prot opt in     out     source               destination        
  143.  754K   39M DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  144.  
  145. Chain ufw-skip-to-policy-output (0 references)
  146.  pkts bytes target     prot opt in     out     source               destination        
  147.     0     0 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  148.  
  149. Chain ufw-track-forward (1 references)
  150.  pkts bytes target     prot opt in     out     source               destination        
  151.  
  152. Chain ufw-track-input (1 references)
  153.  pkts bytes target     prot opt in     out     source               destination        
  154.  
  155. Chain ufw-track-output (1 references)
  156.  pkts bytes target     prot opt in     out     source               destination        
  157.  217K   13M ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            ctstate NEW
  158.  495K   41M ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0            ctstate NEW
  159.  
  160. Chain ufw-user-forward (1 references)
  161.  pkts bytes target     prot opt in     out     source               destination        
  162.  
  163. Chain ufw-user-input (1 references)
  164.  pkts bytes target     prot opt in     out     source               destination        
  165.  518K   28M            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:22 ctstate NEW recent: SET name: DEFAULT side: source mask: 255.255.255.255
  166.  255K   12M ufw-user-limit  tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:22 ctstate NEW recent: UPDATE seconds: 30 hit_count: 6 name: DEFAULT side: source mask: 255.255.255.255
  167.  262K   15M ufw-user-limit-accept  tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:22
  168. 38513 2257K ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:443
  169.  187K 8390K ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:80
  170.     0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:25
  171.     1    60 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:587
  172.  
  173. Chain ufw-user-limit (1 references)
  174.  pkts bytes target     prot opt in     out     source               destination        
  175. 11681  573K LOG        all  --  *      *       0.0.0.0/0            0.0.0.0/0            limit: avg 3/min burst 5 LOG flags 0 level 4 prefix "[UFW LIMIT BLOCK] "
  176.  255K   12M REJECT     all  --  *      *       0.0.0.0/0            0.0.0.0/0            reject-with icmp-port-unreachable
  177.  
  178. Chain ufw-user-limit-accept (1 references)
  179.  pkts bytes target     prot opt in     out     source               destination        
  180.  262K   15M ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0          
  181.  
  182. Chain ufw-user-logging-forward (0 references)
  183.  pkts bytes target     prot opt in     out     source               destination        
  184.  
  185. Chain ufw-user-logging-input (0 references)
  186.  pkts bytes target     prot opt in     out     source               destination        
  187.  
  188. Chain ufw-user-logging-output (0 references)
  189.  pkts bytes target     prot opt in     out     source               destination        
  190.  
  191. Chain ufw-user-output (1 references)
  192.  pkts bytes target     prot opt in     out     source               destination
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement