Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo ufw status
- Status: active
- To Action From
- -- ------ ----
- 1027 ALLOW Anywhere
- 8085 ALLOW Anywhere
- 8084 ALLOW Anywhere
- 49152:65535/tcp ALLOW Anywhere
- 49152:65535/udp ALLOW Anywhere
- 25565 ALLOW Anywhere
- 80 ALLOW Anywhere
- 443 ALLOW Anywhere
- 8081 ALLOW Anywhere
- 9090 ALLOW Anywhere
- 8086 ALLOW Anywhere
- 81 ALLOW Anywhere
- 8082 ALLOW Anywhere
- 25566 ALLOW Anywhere
- 49152:65535/tcp ALLOW Anywhere (v6)
- 49152:65535/udp ALLOW Anywhere (v6)
- <---->
- sudo ifconfig
- eth0 Link encap:Ethernet HWaddr 38:60:77:13:52:08
- inet addr:188.165.234.REMOVED Bcast:188.165.234.255 Mask:255.255.255.0
- inet6 addr: fe80::3a60:77ff:fe13:5208/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:1649599756 errors:0 dropped:5794 overruns:0 frame:0
- TX packets:1742181603 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:1614517094578 (1.6 TB) TX bytes:1873293991619 (1.8 TB)
- Interrupt:20 Memory:fe500000-fe520000
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:16436 Metric:1
- RX packets:1261420 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1261420 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:154710039 (154.7 MB) TX bytes:154710039 (154.7 MB)
- virbr0 Link encap:Ethernet HWaddr fe:54:00:b2:97:4c
- inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:1101037 errors:0 dropped:6263 overruns:0 frame:0
- TX packets:1629223 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:123430492 (123.4 MB) TX bytes:2090035296 (2.0 GB)
- vnet0 Link encap:Ethernet HWaddr fe:54:00:b2:97:4c
- inet6 addr: fe80::fc54:ff:feb2:974c/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:19063 errors:0 dropped:0 overruns:0 frame:0
- TX packets:42598 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:500
- RX bytes:2521906 (2.5 MB) TX bytes:34455765 (34.4 MB)
- Chain INPUT (policy DROP 6 packets, 192 bytes)
- num pkts bytes target prot opt in out source destination
- 1 634 40698 ACCEPT udp -- virbr0 * 0.0.0.0/0 0.0.0.0/0 udp dpt:53
- 2 0 0 ACCEPT tcp -- virbr0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:53
- 3 295 103K ACCEPT udp -- virbr0 * 0.0.0.0/0 0.0.0.0/0 udp dpt:67
- 4 0 0 ACCEPT tcp -- virbr0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:67
- 5 1284M 1557G ufw-before-logging-input all -- * * 0.0.0.0/0 0.0.0.0/0
- 6 1284M 1557G ufw-before-input all -- * * 0.0.0.0/0 0.0.0.0/0
- 7 128K 96M ufw-after-input all -- * * 0.0.0.0/0 0.0.0.0/0
- 8 128K 96M ufw-after-logging-input all -- * * 0.0.0.0/0 0.0.0.0/0
- 9 128K 96M ufw-reject-input all -- * * 0.0.0.0/0 0.0.0.0/0
- 10 128K 96M ufw-track-input all -- * * 0.0.0.0/0 0.0.0.0/0
- Chain FORWARD (policy DROP 0 packets, 0 bytes)
- num pkts bytes target prot opt in out source destination
- 1 820K 2025M ACCEPT all -- * virbr0 0.0.0.0/0 192.168.122.0/24 state RELATED,ESTABLISHED
- 2 889K 49M ACCEPT all -- virbr0 * 192.168.122.0/24 0.0.0.0/0
- 3 0 0 ACCEPT all -- virbr0 virbr0 0.0.0.0/0 0.0.0.0/0
- 4 53 2804 REJECT all -- * virbr0 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
- 5 0 0 REJECT all -- virbr0 * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
- 6 0 0 ufw-before-logging-forward all -- * * 0.0.0.0/0 0.0.0.0/0
- 7 0 0 ufw-before-forward all -- * * 0.0.0.0/0 0.0.0.0/0
- 8 0 0 ufw-after-forward all -- * * 0.0.0.0/0 0.0.0.0/0
- 9 0 0 ufw-after-logging-forward all -- * * 0.0.0.0/0 0.0.0.0/0
- 10 0 0 ufw-reject-forward all -- * * 0.0.0.0/0 0.0.0.0/0
- 11 0 0 ACCEPT tcp -- * * 0.0.0.0/0 192.168.122.100 tcp dpt:80 state NEW,RELATED,ESTABLISHED
- Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
- num pkts bytes target prot opt in out source destination
- 1 652M 1785G ufw-before-logging-output all -- * * 0.0.0.0/0 0.0.0.0/0
- 2 652M 1785G ufw-before-output all -- * * 0.0.0.0/0 0.0.0.0/0
- 3 1372K 200M ufw-after-output all -- * * 0.0.0.0/0 0.0.0.0/0
- 4 1372K 200M ufw-after-logging-output all -- * * 0.0.0.0/0 0.0.0.0/0
- 5 1372K 200M ufw-reject-output all -- * * 0.0.0.0/0 0.0.0.0/0
- 6 1372K 200M ufw-track-output all -- * * 0.0.0.0/0 0.0.0.0/0
- Chain ufw-after-forward (1 references)
- num pkts bytes target prot opt in out source destination
- Chain ufw-after-input (1 references)
- num pkts bytes target prot opt in out source destination
- 1 233 18174 ufw-skip-to-policy-input udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:137
- 2 0 0 ufw-skip-to-policy-input udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:138
- 3 58 2904 ufw-skip-to-policy-input tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:139
- 4 31 1624 ufw-skip-to-policy-input tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:445
- 5 0 0 ufw-skip-to-policy-input udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:67
- 6 0 0 ufw-skip-to-policy-input udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:68
- 7 0 0 ufw-skip-to-policy-input all -- * * 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type BROADCAST
- Chain ufw-after-logging-forward (1 references)
- num pkts bytes target prot opt in out source destination
- 1 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] "
- Chain ufw-after-logging-input (1 references)
- num pkts bytes target prot opt in out source destination
- 1 55836 3847K 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] "
- Chain ufw-after-logging-output (1 references)
- num pkts bytes target prot opt in out source destination
- Chain ufw-after-output (1 references)
- num pkts bytes target prot opt in out source destination
- Chain ufw-before-forward (1 references)
- num pkts bytes target prot opt in out source destination
- 1 0 0 ufw-user-forward all -- * * 0.0.0.0/0 0.0.0.0/0
- Chain ufw-before-input (1 references)
- num pkts bytes target prot opt in out source destination
- 1 1224K 151M ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
- 2 1215M 1441G ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
- 3 18651 5224K ufw-logging-deny all -- * * 0.0.0.0/0 0.0.0.0/0 state INVALID
- 4 18651 5224K DROP all -- * * 0.0.0.0/0 0.0.0.0/0 state INVALID
- 5 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 3
- 6 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 4
- 7 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 11
- 8 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 12
- 9 26136 2188K ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 8
- 10 20414 6805K ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spt:67 dpt:68
- 11 465K 28M ufw-not-local all -- * * 0.0.0.0/0 0.0.0.0/0
- 12 0 0 ACCEPT udp -- * * 0.0.0.0/0 224.0.0.251 udp dpt:5353
- 13 0 0 ACCEPT udp -- * * 0.0.0.0/0 239.255.255.250 udp dpt:1900
- 14 465K 28M ufw-user-input all -- * * 0.0.0.0/0 0.0.0.0/0
- Chain ufw-before-logging-forward (1 references)
- num pkts bytes target prot opt in out source destination
- Chain ufw-before-logging-input (1 references)
- num pkts bytes target prot opt in out source destination
- Chain ufw-before-logging-output (1 references)
- num pkts bytes target prot opt in out source destination
- Chain ufw-before-output (1 references)
- num pkts bytes target prot opt in out source destination
- 1 1224K 151M ACCEPT all -- * lo 0.0.0.0/0 0.0.0.0/0
- 2 602M 1762G ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
- 3 1254K 181M ufw-user-output all -- * * 0.0.0.0/0 0.0.0.0/0
- Chain ufw-logging-allow (0 references)
- num pkts bytes target prot opt in out source destination
- 1 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] "
- Chain ufw-logging-deny (2 references)
- num pkts bytes target prot opt in out source destination
- 1 8431 1839K RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 state INVALID limit: avg 3/min burst 10
- 2 1418 459K 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] "
- Chain ufw-not-local (1 references)
- num pkts bytes target prot opt in out source destination
- 1 461K 27M RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type LOCAL
- 2 3436 110K RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type MULTICAST
- 3 0 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type BROADCAST
- 4 0 0 ufw-logging-deny all -- * * 0.0.0.0/0 0.0.0.0/0 limit: avg 3/min burst 10
- 5 0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0
- Chain ufw-reject-forward (1 references)
- num pkts bytes target prot opt in out source destination
- Chain ufw-reject-input (1 references)
- num pkts bytes target prot opt in out source destination
- Chain ufw-reject-output (1 references)
- num pkts bytes target prot opt in out source destination
- Chain ufw-skip-to-policy-forward (0 references)
- num pkts bytes target prot opt in out source destination
- 1 0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0
- Chain ufw-skip-to-policy-input (7 references)
- num pkts bytes target prot opt in out source destination
- 1 322 22702 DROP all -- * * 0.0.0.0/0 0.0.0.0/0
- Chain ufw-skip-to-policy-output (0 references)
- num pkts bytes target prot opt in out source destination
- 1 0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0
- Chain ufw-track-input (1 references)
- num pkts bytes target prot opt in out source destination
- Chain ufw-track-output (1 references)
- num pkts bytes target prot opt in out source destination
- 1 287K 17M ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW
- 2 966K 163M ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW
- Chain ufw-user-forward (1 references)
- num pkts bytes target prot opt in out source destination
- Chain ufw-user-input (1 references)
- num pkts bytes target prot opt in out source destination
- 1 3913 235K ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:1027
- 2 0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:1027
- 3 333 18964 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8085
- 4 0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:8085
- 5 166 10356 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8084
- 6 0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:8084
- 7 200K 11M ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 multiport dports 49152:65535
- 8 58981 3590K ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 multiport dports 49152:65535
- 9 27705 1468K ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:25565
- 10 2613 96744 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:25565
- 11 7773 437K ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
- 12 0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:80
- 13 6151 366K ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443
- 14 0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:443
- 15 1043 62978 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8081
- 16 0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:8081
- 17 79744 4771K ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:9090
- 18 0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:9090
- 19 156 7960 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8086
- 20 0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:8086
- 21 829 42468 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:81
- 22 0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:81
- 23 1086 65056 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8082
- 24 0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:8082
- 25 110 5878 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:25566
- 26 0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:25566
- Chain ufw-user-limit (0 references)
- num pkts bytes target prot opt in out source destination
- 1 0 0 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] "
- 2 0 0 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
- Chain ufw-user-limit-accept (0 references)
- num pkts bytes target prot opt in out source destination
- 1 0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0
- Chain ufw-user-logging-forward (0 references)
- num pkts bytes target prot opt in out source destination
- Chain ufw-user-logging-input (0 references)
- num pkts bytes target prot opt in out source destination
- Chain ufw-user-logging-output (0 references)
- num pkts bytes target prot opt in out source destination
- Chain ufw-user-output (1 references)
- num pkts bytes target prot opt in out source destination
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement