Tak, zablokoval jsem to pomocí ufw, které jsem aktivoval. Bohužel to stále nefunguje, nedaří se mi to prostřednictvím ufw dostat nakonec. Když to bylo na začátku, tak to nefungovalo.
Výpis iptables -vL --line-numbered
Chain INPUT (policy DROP 79 packets, 4603 bytes)
num pkts bytes target prot opt in out source destination
1 2540K 711M ufw-before-logging-input all -- any any anywhere anywhere
2 2540K 711M ufw-before-input all -- any any anywhere anywhere
3 15731 1539K ufw-after-input all -- any any anywhere anywhere
4 13615 896K ufw-after-logging-input all -- any any anywhere anywhere
5 13615 896K ufw-reject-input all -- any any anywhere anywhere
6 13615 896K ufw-track-input all -- any any anywhere anywhere
Chain FORWARD (policy DROP 0 packets, 0 bytes)
num pkts bytes target prot opt in out source destination
1 0 0 ufw-before-logging-forward all -- any any anywhere anywhere
2 0 0 ufw-before-forward all -- any any anywhere anywhere
3 0 0 ufw-after-forward all -- any any anywhere anywhere
4 0 0 ufw-after-logging-forward all -- any any anywhere anywhere
5 0 0 ufw-reject-forward all -- any any anywhere anywhere
6 0 0 ufw-track-forward all -- any any anywhere anywhere
Chain OUTPUT (policy ACCEPT 9 packets, 468 bytes)
num pkts bytes target prot opt in out source destination
1 2158K 4754M ufw-before-logging-output all -- any any anywhere anywhere
2 2158K 4754M ufw-before-output all -- any any anywhere anywhere
3 34002 26M ufw-after-output all -- any any anywhere anywhere
4 34002 26M ufw-after-logging-output all -- any any anywhere anywhere
5 34002 26M ufw-reject-output all -- any any anywhere anywhere
6 34002 26M ufw-track-output all -- any any anywhere anywhere
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 0 0 ufw-skip-to-policy-input udp -- any any anywhere anywhere udp dpt:netbios-ns
2 0 0 ufw-skip-to-policy-input udp -- any any anywhere anywhere udp dpt:netbios-dgm
3 0 0 ufw-skip-to-policy-input tcp -- any any anywhere anywhere tcp dpt:netbios-ssn
4 0 0 ufw-skip-to-policy-input tcp -- any any anywhere anywhere tcp dpt:microsoft-ds
5 172 52976 ufw-skip-to-policy-input udp -- any any anywhere anywhere udp dpt:bootps
6 0 0 ufw-skip-to-policy-input udp -- any any anywhere anywhere udp dpt:bootpc
7 0 0 ufw-skip-to-policy-input all -- any any anywhere anywhere 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 -- any any anywhere anywhere limit: avg 3/min burst 10 LOG level warning prefix "[UFW BLOCK] "
Chain ufw-after-logging-input (1 references)
num pkts bytes target prot opt in out source destination
1 68 3947 LOG all -- any any anywhere anywhere limit: avg 3/min burst 10 LOG level warning 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 ACCEPT all -- any any anywhere anywhere ctstate RELATED,ESTABLISHED
2 0 0 ACCEPT icmp -- any any anywhere anywhere icmp destination-unreachable
3 0 0 ACCEPT icmp -- any any anywhere anywhere icmp source-quench
4 0 0 ACCEPT icmp -- any any anywhere anywhere icmp time-exceeded
5 0 0 ACCEPT icmp -- any any anywhere anywhere icmp parameter-problem
6 0 0 ACCEPT icmp -- any any anywhere anywhere icmp echo-request
7 0 0 ufw-user-forward all -- any any anywhere anywhere
Chain ufw-before-input (1 references)
num pkts bytes target prot opt in out source destination
1 69 12561 ACCEPT all -- lo any anywhere anywhere
2 536K 34M ACCEPT all -- any any anywhere anywhere ctstate RELATED,ESTABLISHED
3 21 1304 ufw-logging-deny all -- any any anywhere anywhere ctstate INVALID
4 21 1304 DROP all -- any any anywhere anywhere ctstate INVALID
5 0 0 ACCEPT icmp -- any any anywhere anywhere icmp destination-unreachable
6 0 0 ACCEPT icmp -- any any anywhere anywhere icmp source-quench
7 0 0 ACCEPT icmp -- any any anywhere anywhere icmp time-exceeded
8 0 0 ACCEPT icmp -- any any anywhere anywhere icmp parameter-problem
9 0 0 ACCEPT icmp -- any any anywhere anywhere icmp echo-request
10 0 0 ACCEPT udp -- any any anywhere anywhere udp spt:bootps dpt:bootpc
11 1025 126K ufw-not-local all -- any any anywhere anywhere
12 0 0 ACCEPT udp -- any any anywhere 224.0.0.251 udp dpt:mdns
13 0 0 ACCEPT udp -- any any anywhere 239.255.255.250 udp dpt:1900
14 1025 126K ufw-user-input all -- any any anywhere anywhere
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 69 12561 ACCEPT all -- any lo anywhere anywhere
2 469K 1126M ACCEPT all -- any any anywhere anywhere ctstate RELATED,ESTABLISHED
3 1085 104K ufw-user-output all -- any any anywhere anywhere
Chain ufw-logging-allow (0 references)
num pkts bytes target prot opt in out source destination
1 0 0 LOG all -- any any anywhere anywhere limit: avg 3/min burst 10 LOG level warning prefix "[UFW ALLOW] "
Chain ufw-logging-deny (2 references)
num pkts bytes target prot opt in out source destination
1 21 1304 RETURN all -- any any anywhere anywhere ctstate INVALID limit: avg 3/min burst 10
2 0 0 LOG all -- any any anywhere anywhere limit: avg 3/min burst 10 LOG level warning prefix "[UFW BLOCK] "
Chain ufw-not-local (1 references)
num pkts bytes target prot opt in out source destination
1 795 65974 RETURN all -- any any anywhere anywhere ADDRTYPE match dst-type LOCAL
2 10 340 RETURN all -- any any anywhere anywhere ADDRTYPE match dst-type MULTICAST
3 220 60128 RETURN all -- any any anywhere anywhere ADDRTYPE match dst-type BROADCAST
4 0 0 ufw-logging-deny all -- any any anywhere anywhere limit: avg 3/min burst 10
5 0 0 DROP all -- any any anywhere anywhere
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 -- any any anywhere anywhere
Chain ufw-skip-to-policy-input (7 references)
num pkts bytes target prot opt in out source destination
1 172 52976 DROP all -- any any anywhere anywhere
Chain ufw-skip-to-policy-output (0 references)
num pkts bytes target prot opt in out source destination
1 0 0 ACCEPT all -- any any anywhere anywhere
Chain ufw-track-forward (1 references)
num pkts bytes target prot opt in out source destination
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 402 25169 ACCEPT tcp -- any any anywhere anywhere ctstate NEW
2 671 78521 ACCEPT udp -- any any anywhere anywhere ctstate 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 26 1544 ACCEPT tcp -- any any anywhere anywhere tcp dpt:9001
2 0 0 ACCEPT udp -- any any anywhere anywhere udp dpt:9001
3 0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:9090
4 0 0 ACCEPT udp -- any any anywhere anywhere udp dpt:9090
5 1 60 ACCEPT tcp -- any any anywhere anywhere tcp dpt:9030
6 0 0 ACCEPT udp -- any any anywhere anywhere udp dpt:9030
7 0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:9050
8 0 0 ACCEPT udp -- any any anywhere anywhere udp dpt:9050
9 0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:http
10 0 0 ACCEPT udp -- any any anywhere anywhere udp dpt:http
11 0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:https
12 0 0 ACCEPT udp -- any any anywhere anywhere udp dpt:https
13 0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:db-lsp
14 48 7152 ACCEPT udp -- any any anywhere anywhere udp dpt:17500
15 221 12752 ACCEPT tcp -- any any anywhere anywhere tcp dpt:51413
16 431 44597 ACCEPT udp -- any any anywhere anywhere udp dpt:51413
17 0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:9001
18 2 100 tcp -- any any anywhere anywhere tcp dpt:ssh ctstate NEW recent: SET name: DEFAULT side: source mask: 255.255.255.255
19 0 0 ufw-user-limit tcp -- any any anywhere anywhere tcp dpt:ssh ctstate NEW recent: UPDATE seconds: 30 hit_count: 6 name: DEFAULT side: source mask: 255.255.255.255
20 2 100 ufw-user-limit-accept tcp -- any any anywhere anywhere tcp dpt:ssh
21 0 0 ACCEPT tcp -- any any anywhere anywhere tcp spt:34714
22 0 0 ACCEPT udp -- any any anywhere anywhere udp spt:34714
23 0 0 ACCEPT tcp -- any any anywhere anywhere multiport dports http,https
24 0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:9091
25 0 0 DROP all -- any any reverse.alphalink.fr/16 anywhere
26 0 0 DROP all -- any any 95.141.0.0/16 anywhere
27 0 0 DROP all -- any any anywhere reverse.alphalink.fr/16
28 0 0 DROP all -- any any anywhere 95.141.0.0/16
29 0 0 ACCEPT tcp -- any any anywhere anywhere multiport dports 6881:6891
30 0 0 ACCEPT udp -- any any anywhere anywhere multiport dports 6881:6891
Chain ufw-user-limit (1 references)
num pkts bytes target prot opt in out source destination
1 0 0 LOG all -- any any anywhere anywhere limit: avg 3/min burst 5 LOG level warning prefix "[UFW LIMIT BLOCK] "
2 0 0 REJECT all -- any any anywhere anywhere reject-with icmp-port-unreachable
Chain ufw-user-limit-accept (1 references)
num pkts bytes target prot opt in out source destination
1 2 100 ACCEPT all -- any any anywhere anywhere
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