26

Odp: Gargoyle 1.12.0.2 blokada World of Tanks

Mam w regułach:

92.223.0.0/22
92.223.20.0/22
92.223.24.0/22

a pinguje mi:

ping 92.223.24.244

Pinging 92.223.24.244 with 32 bytes of data:
Reply from 92.223.24.244: bytes=32 time=38ms TTL=56
Reply from 92.223.24.244: bytes=32 time=39ms TTL=56
Reply from 92.223.24.244: bytes=32 time=38ms TTL=56
Reply from 92.223.24.244: bytes=32 time=39ms TTL=56

ping 92.223.21.26

Pinging 92.223.21.26 with 32 bytes of data:
Reply from 92.223.21.26: bytes=32 time=39ms TTL=56
Reply from 92.223.21.26: bytes=32 time=39ms TTL=56
Reply from 92.223.21.26: bytes=32 time=39ms TTL=56
Reply from 92.223.21.26: bytes=32 time=38ms TTL=56

ping 92.223.21.27

Pinging 92.223.21.27 with 32 bytes of data:
Reply from 92.223.21.27: bytes=32 time=40ms TTL=56
Reply from 92.223.21.27: bytes=32 time=38ms TTL=56
Reply from 92.223.21.27: bytes=32 time=39ms TTL=56
Reply from 92.223.21.27: bytes=32 time=39ms TTL=56

więc chyba coś źle zrozumiałem.

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

27

Odp: Gargoyle 1.12.0.2 blokada World of Tanks

Spójrz w reguły firewalla jeszcze raz. Bo nie ma pamiętam czy jest całość blokowana czy tcp/udp (w ping jest icmp).

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

28

Odp: Gargoyle 1.12.0.2 blokada World of Tanks

Ale powyższe adresy są wzięte z listy połączeń routera. Nie jest to kwestia samego pingowania.

root@Gargoyle:~# uci show firewall
firewall.@defaults[0]=defaults
firewall.@defaults[0].syn_flood='1'
firewall.@defaults[0].input='ACCEPT'
firewall.@defaults[0].output='ACCEPT'
firewall.@defaults[0].forward='REJECT'
firewall.@defaults[0].enforce_dhcp_assignments='1'
firewall.@zone[0]=zone
firewall.@zone[0].name='lan'
firewall.@zone[0].network='lan'
firewall.@zone[0].input='ACCEPT'
firewall.@zone[0].output='ACCEPT'
firewall.@zone[0].forward='ACCEPT'
firewall.@zone[1]=zone
firewall.@zone[1].name='wan'
firewall.@zone[1].network='wan' 'wan6'
firewall.@zone[1].input='REJECT'
firewall.@zone[1].output='ACCEPT'
firewall.@zone[1].forward='REJECT'
firewall.@zone[1].masq='1'
firewall.@zone[1].mtu_fix='1'
firewall.@forwarding[0]=forwarding
firewall.@forwarding[0].src='lan'
firewall.@forwarding[0].dest='wan'
firewall.@rule[0]=rule
firewall.@rule[0].name='Allow-DHCP-Renew'
firewall.@rule[0].src='wan'
firewall.@rule[0].proto='udp'
firewall.@rule[0].dest_port='68'
firewall.@rule[0].target='ACCEPT'
firewall.@rule[0].family='ipv4'
firewall.@rule[1]=rule
firewall.@rule[1].name='Allow-Ping'
firewall.@rule[1].src='wan'
firewall.@rule[1].proto='icmp'
firewall.@rule[1].icmp_type='echo-request'
firewall.@rule[1].family='ipv4'
firewall.@rule[1].target='DROP'
firewall.@rule[2]=rule
firewall.@rule[2].name='Allow-IGMP'
firewall.@rule[2].src='wan'
firewall.@rule[2].proto='igmp'
firewall.@rule[2].family='ipv4'
firewall.@rule[2].target='ACCEPT'
firewall.@rule[3]=rule
firewall.@rule[3].name='Allow-DHCPv6'
firewall.@rule[3].src='wan'
firewall.@rule[3].proto='udp'
firewall.@rule[3].src_ip='fc00::/6'
firewall.@rule[3].dest_ip='fc00::/6'
firewall.@rule[3].dest_port='546'
firewall.@rule[3].family='ipv6'
firewall.@rule[3].target='ACCEPT'
firewall.@rule[4]=rule
firewall.@rule[4].name='Allow-MLD'
firewall.@rule[4].src='wan'
firewall.@rule[4].proto='icmp'
firewall.@rule[4].src_ip='fe80::/10'
firewall.@rule[4].icmp_type='130/0' '131/0' '132/0' '143/0'
firewall.@rule[4].family='ipv6'
firewall.@rule[4].target='ACCEPT'
firewall.@rule[5]=rule
firewall.@rule[5].name='Allow-ICMPv6-Input'
firewall.@rule[5].src='wan'
firewall.@rule[5].proto='icmp'
firewall.@rule[5].icmp_type='echo-request' 'echo-reply' 'destination-unreachable' 'packet-too-big' 'time-exceeded' 'bad-header' 'unknown-header-type' 'router-solicitation' 'neighbour-solicitation' 'router-advertisement' 'neighbour-advertisement'
firewall.@rule[5].limit='1000/sec'
firewall.@rule[5].family='ipv6'
firewall.@rule[5].target='ACCEPT'
firewall.@rule[6]=rule
firewall.@rule[6].name='Allow-ICMPv6-Forward'
firewall.@rule[6].src='wan'
firewall.@rule[6].dest='*'
firewall.@rule[6].proto='icmp'
firewall.@rule[6].icmp_type='echo-request' 'echo-reply' 'destination-unreachable' 'packet-too-big' 'time-exceeded' 'bad-header' 'unknown-header-type'
firewall.@rule[6].limit='1000/sec'
firewall.@rule[6].family='ipv6'
firewall.@rule[6].target='ACCEPT'
firewall.@rule[7]=rule
firewall.@rule[7].name='Allow-IPSec-ESP'
firewall.@rule[7].src='wan'
firewall.@rule[7].dest='lan'
firewall.@rule[7].proto='esp'
firewall.@rule[7].target='ACCEPT'
firewall.@rule[8]=rule
firewall.@rule[8].name='Allow-ISAKMP'
firewall.@rule[8].src='wan'
firewall.@rule[8].dest='lan'
firewall.@rule[8].dest_port='500'
firewall.@rule[8].proto='udp'
firewall.@rule[8].target='ACCEPT'
firewall.@include[0]=include
firewall.@include[0].path='/etc/firewall.user'
firewall.@include[0].reload='1'
firewall.@include[1]=include
firewall.@include[1].type='script'
firewall.@include[1].path='/usr/lib/gargoyle_firewall_util/gargoyle_additions.firewall'
firewall.@include[1].family='IPv4'
firewall.@include[1].reload='1'
firewall.openvpn_include_file=include
firewall.openvpn_include_file.path='/etc/openvpn.firewall'
firewall.openvpn_include_file.reload='1'
firewall.wan_ftp_server_command=remote_accept
firewall.wan_ftp_server_command.proto='tcp'
firewall.wan_ftp_server_command.zone='wan'
firewall.wan_ftp_server_command.local_port='21'
firewall.wan_ftp_server_command.remote_port='21'
firewall.vpn_zone=zone
firewall.vpn_zone.name='vpn'
firewall.vpn_zone.device='tun0'
firewall.vpn_zone.input='ACCEPT'
firewall.vpn_zone.output='ACCEPT'
firewall.vpn_zone.forward='ACCEPT'
firewall.vpn_zone.mtu_fix='1'
firewall.vpn_zone.masq='1'
firewall.vpn_lan_forwarding=forwarding
firewall.vpn_lan_forwarding.src='lan'
firewall.vpn_lan_forwarding.dest='vpn'
firewall.lan_vpn_forwarding=forwarding
firewall.lan_vpn_forwarding.src='vpn'
firewall.lan_vpn_forwarding.dest='lan'
firewall.ra_openvpn=remote_accept
firewall.ra_openvpn.zone='wan'
firewall.ra_openvpn.local_port='443'
firewall.ra_openvpn.remote_port='443'
firewall.ra_openvpn.proto='tcp'
firewall.vpn_wan_forwarding=forwarding
firewall.vpn_wan_forwarding.src='vpn'
firewall.vpn_wan_forwarding.dest='wan'
firewall.ra_4430_4430=remote_accept
firewall.ra_4430_4430.local_port='4430'
firewall.ra_4430_4430.remote_port='4430'
firewall.ra_4430_4430.proto='tcp'
firewall.ra_4430_4430.zone='wan'
firewall.rule_1=restriction_rule
firewall.rule_1.is_ingress='0'
firewall.rule_1.description='Blokada VM'
firewall.rule_1.local_addr='52:54:00:52:0A:A8,52:54:00:EE:85:2F,52:54:00:bf:b4:ab,52:54:00:52:0A:A9,52:54:00:7f:7d:f4'
firewall.rule_1.enabled='1'
firewall.rule_3=restriction_rule
firewall.rule_3.is_ingress='0'
firewall.rule_3.description='blokada_youtube'
firewall.rule_3.local_addr='E0:2C:B2:22:FF:C2'
firewall.rule_3.proto='both'
firewall.rule_3.url_domain_exact='"youtube.com"'
firewall.rule_3.url_domain_contains='"netflix","cda","kinoman","vod","ipla","player","youtu.be","youtube"'
firewall.rule_3.enabled='0'
firewall.rule_2=restriction_rule
firewall.rule_2.is_ingress='0'
firewall.rule_2.description='Darecki'
firewall.rule_2.local_addr='AC:C1:EE:55:60:FB,E0:2C:B2:22:FF:C2'
firewall.rule_2.enabled='0'
firewall.rule_4=restriction_rule
firewall.rule_4.is_ingress='0'
firewall.rule_4.description='Blokada VM klon'
firewall.rule_4.local_addr='52:54:00:05:5f:4f'
firewall.rule_4.enabled='1'
firewall.rule_6=restriction_rule
firewall.rule_6.is_ingress='0'
firewall.rule_6.description='youtube'
firewall.rule_6.local_addr='192.168.1.100'
firewall.rule_6.proto='both'
firewall.rule_6.url_domain_contains='"youtube"'
firewall.rule_6.enabled='0'
firewall.rule_5=restriction_rule
firewall.rule_5.is_ingress='0'
firewall.rule_5.description='World Of Tanks'
firewall.rule_5.local_addr='192.168.1.102,192.168.1.100'
firewall.rule_5.remote_addr='92.223.0.0/22,92.223.20.0/22,92.223.24.0/22'
firewall.rule_5.proto='both'
firewall.rule_5.url_domain_contains='"wargaming","worldoftanks"'
firewall.rule_5.enabled='1'
MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

29

Odp: Gargoyle 1.12.0.2 blokada World of Tanks

I masz proto=both które jest rozwijane na udp i tcp. Nie ICMP.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

30

Odp: Gargoyle 1.12.0.2 blokada World of Tanks

Więc dlaczego na liście połączeń było:

92.223.21.26
92.223.21.27
92.223.22.145
92.223.23.143
92.223.23.49
92.223.24.244
92.223.24.44

?

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

31

Odp: Gargoyle 1.12.0.2 blokada World of Tanks

Nie wiem, bo jednak nie zablokowałeś? Bo znów masz jaką białą listę lub cokolwiek innego? Ty to robisz a ja mam zgadywać co robisz?

Usuń sobie wszystkie reguły blokujące. kompletnie wszystkie. Dodaj jeden z tych adresów, zrestartuj całość i zobacz czy działa.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

32

Odp: Gargoyle 1.12.0.2 blokada World of Tanks

A to ciekawe... Wywaliłem wszystkie reguły oprócz WOT i nadal był problem. Wywaliłem także WOT i zrobiłem WOT od nowa. Blokuje i nawet nie pinguje:

C:\Users\rkuci>ping 92.223.21.26

Pinging 92.223.21.26 with 32 bytes of data:
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.

Ping statistics for 92.223.21.26:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

C:\Users\rkuci>ping 92.223.21.26

Pinging 92.223.21.26 with 32 bytes of data:
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.

Ping statistics for 92.223.21.26:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

C:\Users\rkuci>ping 92.223.21.27

Pinging 92.223.21.27 with 32 bytes of data:
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.

Ping statistics for 92.223.21.27:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

C:\Users\rkuci>ping 92.223.22.145

Pinging 92.223.22.145 with 32 bytes of data:
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.

Ping statistics for 92.223.22.145:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

C:\Users\rkuci>ping 92.223.23.143

Pinging 92.223.23.143 with 32 bytes of data:
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.

Ping statistics for 92.223.23.143:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

C:\Users\rkuci>ping 92.223.23.49

Pinging 92.223.23.49 with 32 bytes of data:
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.

Ping statistics for 92.223.23.49:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

C:\Users\rkuci>ping 92.223.24.244

Pinging 92.223.24.244 with 32 bytes of data:
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.

Ping statistics for 92.223.24.244:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

C:\Users\rkuci>ping 92.223.24.44

Pinging 92.223.24.44 with 32 bytes of data:
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.
Reply from 192.168.1.11: Destination port unreachable.

Ping statistics for 92.223.24.44:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

i dla sprawdzenia innych adresów:

C:\Users\rkuci>ping wp.pl

Pinging wp.pl [212.77.98.9] with 32 bytes of data:
Reply from 212.77.98.9: bytes=32 time=11ms TTL=59
Reply from 212.77.98.9: bytes=32 time=13ms TTL=59
Reply from 212.77.98.9: bytes=32 time=12ms TTL=59
Reply from 212.77.98.9: bytes=32 time=11ms TTL=59

Ping statistics for 212.77.98.9:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 11ms, Maximum = 13ms, Average = 11ms

C:\Users\rkuci>ping onet.pl

Pinging onet.pl [99.83.207.202] with 32 bytes of data:
Reply from 99.83.207.202: bytes=32 time=11ms TTL=121
Reply from 99.83.207.202: bytes=32 time=10ms TTL=121
Reply from 99.83.207.202: bytes=32 time=12ms TTL=121
Reply from 99.83.207.202: bytes=32 time=11ms TTL=121

Ping statistics for 99.83.207.202:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 10ms, Maximum = 12ms, Average = 11ms

Dodałem więc usunięte reguły i serwery WOT nadal nie są pingowane.

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

33

Odp: Gargoyle 1.12.0.2 blokada World of Tanks

Gdzie mogę doczytać o definiowaniu zakresu adresów do reguł?

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

34

Odp: Gargoyle 1.12.0.2 blokada World of Tanks

Poczytaj ogólnie o adresacji sieci.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

35 (edytowany przez badziewiak 2021-03-01 18:53:03)

Odp: Gargoyle 1.12.0.2 blokada World of Tanks

Dokopałem się jeszcze innych serwerów:

213.252.131.21    
213.252.131.31    
213.252.131.41    
213.252.131.51    
185.12.240.100    
185.12.240.110    
185.12.240.140    
185.12.240.150

Czy zapisanie ich w regułach w takiej postaci jest mniej wydajne, niż w formie skróconej?

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

36

Odp: Gargoyle 1.12.0.2 blokada World of Tanks

Im więcej reguł tym wszystko wolniejsze bo pakiet musi przez wszystko przelecieć. Tylko tyle w sumie.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

37

Odp: Gargoyle 1.12.0.2 blokada World of Tanks

Zatem zamiast powyższych 8 adresów lepiej jest zastosować dwa skrócone?

185.12.240.0/22
213.252.131.0/22
MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

38

Odp: Gargoyle 1.12.0.2 blokada World of Tanks

Wtedy zablokuje całe klasy adresowe. To już twoja decyzja czy chcesz tak czy zablokować od razu całą garść adresów.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

39 (edytowany przez badziewiak 2021-03-02 13:59:02)

Odp: Gargoyle 1.12.0.2 blokada World of Tanks

Jednak było to konieczne, bo łączył się po adresach niewymienionych, ale mieszczących się w sieci. To załatwiło sprawę.
Reasumując - do zablokowania WOT trzeba wyciąć:

185.12.240.0/22    
213.252.131.0/22

oraz najprawdopodobniej:

92.223.0.0/22    
92.223.20.0/22    
92.223.24.0/22
MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)