Trimiteam cereri către serverul meu folosind poștaș. Apoi, ceva a mers prost și toate solicitările mele au fost blocate. Acum, nu pot trimite solicitări sau chiar să accesez serverul folosind adresa IP decât dacă folosesc un VPN.
Sunt un student care învață și sunt destul de pierdut â nu știu de unde să încep. Am căutat ore în șir cum să resetați UFW și să dezactivați și să activați și nici măcar adăugarea de reguli noi nu a funcționat. Mai jos este rezultatul de la UFW iptables. Trimit cereri prin poștaș la IP-ul serverului.
INTRARE în lanț (politica DROP 21 pachete, 2312 octeți)
pkts bytes target prot opt in out source destination
4739 371K ufw-before-logging-input all -- * * 0.0.0.0/0 0.0.0.0/0
4739 371K ufw-before-input all -- * * 0.0.0.0/0 0.0.0.0/0
21 2312 ufw-după-input toate -- * * 0.0.0.0/0 0.0.0.0/0
21 2312 ufw-după-logging-input toate -- * * 0.0.0.0/0 0.0.0.0/0
21 2312 ufw-reject-input all -- * * 0.0.0.0/0 0.0.0.0/0
21 2312 ufw-track-input all -- * * 0.0.0.0/0 0.0.0.0/0
Lanț FORWARD (politica DROP 0 pachete, 0 octeți)
pkts bytes target prot opt in out source destination
0 0 ufw-before-logging-forward all -- * * 0.0.0.0/0 0.0.0.0/0
0 0 ufw-before-forward all -- * * 0.0.0.0/0 0.0.0.0/0
0 0 ufw-după-înainte toate -- * * 0.0.0.0/0 0.0.0.0/0
0 0 ufw-după-logging-forward toate -- * * 0.0.0.0/0 0.0.0.0/0
0 0 ufw-reject-forward all -- * * 0.0.0.0/0 0.0.0.0/0
0 0 ufw-track-forward all -- * * 0.0.0.0/0 0.0.0.0/0
Ieșire în lanț (politica ACCEPT 0 pachete, 0 octeți)
pkts bytes target prot opt in out source destination
4071 6364K ufw-before-logging-output all -- * * 0.0.0.0/0 0.0.0.0/0
4071 6364K ufw-înainte de ieșire toate -- * * 0.0.0.0/0 0.0.0.0/0
22 1466 ufw-după-ieșire toate -- * * 0.0.0.0/0 0.0.0.0/0
22 1466 ufw-după-logging-output toate -- * * 0.0.0.0/0 0.0.0.0/0
22 1466 ufw-reject-output toate -- * * 0.0.0.0/0 0.0.0.0/0
22 1466 ufw-track-output toate -- * * 0.0.0.0/0 0.0.0.0/0
Lanț ufw-after-forward (1 referințe)
pkts bytes target prot opt in out source destination
Lanț ufw-după-input (1 referințe)
pkts bytes target prot opt in out source destination
0 0 ufw-skip-to-policy-input udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:137
0 0 ufw-skip-to-policy-input udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:138
0 0 ufw-skip-to-policy-input tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:139
0 0 ufw-skip-to-policy-input tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:445
0 0 ufw-skip-to-policy-input udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:67
0 0 ufw-skip-to-policy-input udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:68
0 0 ufw-skip-to-policy-input all -- * * 0.0.0.0/0 0.0.0.0/0 ADDRTYPE se potrivește cu DST-type BROADCAST
Lanț ufw-după-logging-forward (1 referințe)
pkts bytes target prot opt in out source destination
0 0 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 limită: medie 3/min burst 10 semnalizatoare LOG 0 nivel 4 prefix „[UFW BLOCK]”
Lanț ufw-după-logging-input (1 referințe)
pkts bytes target prot opt in out source destination
21 2312 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 limită: medie 3/min rafală 10 semnalizatoare LOG 0 nivel 4 prefix „[UFW BLOCK]”
Lanț ufw-după-logging-output (1 referințe)
pkts bytes target prot opt in out source destination
Lanț ufw-după-ieșire (1 referințe)
pkts bytes target prot opt in out source destination
Lanț ufw-before-forward (1 referințe)
pkts bytes target prot opt in out source destination
0 0 ACCEPT toate -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,STABLISHED
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 3
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 11
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 12
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 8
0 0 ufw-user-forward all -- * * 0.0.0.0/0 0.0.0.0/0
Lanț ufw-before-input (1 referințe)
pkts bytes target prot opt in out source destination
444 125K ACCEPT pe toate -- lo * 0.0.0.0/0 0.0.0.0/0
4255 243K ACCEPT pe toate -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,STABLISHED
5 1099 ufw-logging-deny all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate INVALID
5 1099 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate INVALID
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 3
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 11
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 12
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 8
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spt:67 dpt:68
35 3048 ufw-not-local all -- * * 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT udp -- * * 0.0.0.0/0 224.0.0.251 udp dpt:5353
0 0 ACCEPT udp -- * * 0.0.0.0/0 239.255.255.250 udp dpt:1900
35 3048 ufw-user-input toate -- * * 0.0.0.0/0 0.0.0.0/0
Lanț ufw-before-logging-forward (1 referințe)
pkts bytes target prot opt in out source destination
Lanț ufw-before-logging-input (1 referințe)
pkts bytes target prot opt in out source destination
Lanț ufw-before-logging-output (1 referințe)
pkts bytes target prot opt in out source destination
Lanț ufw-before-output (1 referințe)
pkts bytes target prot opt in out source destination
444 125K ACCEPT toate -- * lo 0.0.0.0/0 0.0.0.0/0
3605 6238K ACCEPT pe toate -- * * 0.0.0.0/0 0.0.0.0/0 stare RELATED,STABLISHED
22 1466 ufw-user-output all -- * * 0.0.0.0/0 0.0.0.0/0
Lanț ufw-logging-allow (0 referințe)
pkts bytes target prot opt in out source destination
0 0 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 limită: medie 3/min burst 10 semnalizatoare LOG 0 nivel 4 prefix „[UFW ALLOW]”
Lanț ufw-logging-deny (2 referințe)
pkts bytes target prot opt in out source destination
5 1099 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate Limită INVALIDĂ: medie 3/min burst 10
0 0 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 limită: medie 3/min burst 10 semnalizatoare LOG 0 nivel 4 prefix „[UFW BLOCK]”
Lanț ufw-not-local (1 referințe)
pkts bytes target prot opt in out source destination
35 3048 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 ADDRTYPE se potrivește cu dst-type LOCAL
0 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 ADDRTYPE potrivește tip dst MULTICAST
0 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 ADDRTYPE se potrivește cu DST-type BROADCAST
0 0 ufw-logging-deny all -- * * 0.0.0.0/0 0.0.0.0/0 limită: medie 3/min burst 10
0 0 DROP toate -- * * 0.0.0.0/0 0.0.0.0/0
Lanț ufw-reject-forward (1 referințe)
pkts bytes target prot opt in out source destination
Lanț ufw-reject-input (1 referințe)
pkts bytes target prot opt in out source destination
Lanț ufw-reject-output (1 referințe)
pkts bytes target prot opt in out source destination
Lanț ufw-skip-to-policy-forward (0 referințe)
pkts bytes target prot opt in out source destination
0 0 DROP toate -- * * 0.0.0.0/0 0.0.0.0/0
Lanț ufw-skip-to-policy-input (7 referințe)
pkts bytes target prot opt in out source destination
0 0 DROP toate -- * * 0.0.0.0/0 0.0.0.0/0
Lanț ufw-skip-to-policy-output (0 referințe)
pkts bytes target prot opt in out source destination
0 0 ACCEPT pe toate -- * * 0.0.0.0/0 0.0.0.0/0
Lanț ufw-track-forward (1 referințe)
pkts bytes target prot opt in out source destination
Lanț ufw-track-input (1 referințe)
pkts bytes target prot opt in out source destination
Lanț ufw-track-output (1 referințe)
pkts bytes target prot opt in out source destination
11 660 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 ctstate NOU
11 806 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 ctstate NOU
Lanț ufw-user-forward (1 referințe)
pkts bytes target prot opt in out source destination
Lanț ufw-user-input (1 referințe)
pkts bytes target prot opt in out source destination
7 380 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
6 316 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
1 40 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:5432
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 /* 'dapp_OpenSSH' */
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 /* 'dapp_Apache' */
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:80
Lanț ufw-user-limit (0 referințe)
pkts bytes target prot opt in out source destination
0 0 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 limită: rafală medie 3/min 5 semnalizatoare LOG 0 nivel 4 prefix „[UFW LIMIT BLOCK]”
0 0 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
Lanț ufw-user-limit-accept (0 referințe)
pkts bytes target prot opt in out source destination
0 0 ACCEPT pe toate -- * * 0.0.0.0/0 0.0.0.0/0
Lanț ufw-user-logging-forward (0 referințe)
pkts bytes target prot opt in out source destination
Lanț ufw-user-logging-input (0 referințe)
pkts bytes target prot opt in out source destination
Lanț ufw-user-logging-output (0 referințe)
pkts bytes target prot opt in out source destination
Lanț ufw-user-output (1 referințe)
pkts bytes target prot opt in out source destination