Witam
Posiadam 2 routery TP-Link 1043ND spięte OpenVPN( systemy Gargoyle server - klient)
Adresy IP WLAN - od dostawców zewnętrznych
Serwer 1 IP klasy wewnętrznej 172.20.1.x (IP OpenVPN 10.8.0.1)
Serwer 2 IP klasy wewnętrznej 192.168.1.x (IP OpenVPN 10.8.0.2)
Klasa adresowa OpenVPN 10.8.0.x
W czym problem:
Z Serwera 2 mogę pingowac klasę adresową 172.20.1.x oraz 10.8.0.1
zaś z Serwera 1 mogę pingowac klasę adresową 10.8.0.3 ale nie mogę pingowac klasy adresowej 192.168.1.x
W czym może byc problem, poniżej routing obu serwerów.
Z góry dziękuję za pomoc.
definicja firewall - serwer 1 (tutaj uruchomiony serwer OpenVPN)
config zone 'vpn_zone'
option name 'vpn'
option network 'vpn'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
option mtu_fix '1'
option masq '1'
config forwarding 'vpn_lan_forwarding'
option src 'lan'
option dest 'vpn'
config remote_accept 'ra_openvpn'
option zone 'wan'
option local_port '1194'
option remote_port '1194'
option proto 'udp'
definicja firewall - serwer 2 (klient OpenVpn)
config include 'openvpn_include_file'
option path '/etc/openvpn.firewall'
option reload '1'
config zone 'vpn_zone'
option name 'vpn'
option network 'vpn'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
option mtu_fix '1'
option masq '1'
config forwarding 'vpn_lan_forwarding'
option src 'lan'
option dest 'vpn'
Serwer 1
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 46.186.0.1 0.0.0.0 UG 0 0 0 eth0.2
10.8.0.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
46.186.0.0 0.0.0.0 255.255.248.0 U 0 0 0 eth0.2
46.186.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0.2
172.20.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan
Serwer 2
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.8.0.1 128.0.0.0 UG 0 0 0 tun0
0.0.0.0 10.64.64.64 0.0.0.0 UG 0 0 0 3g-wan
10.8.0.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
10.64.164.164 0.0.0.0 255.255.255.255 UH 0 0 0 3g-wan
46.186.0.235 10.64.64.64 255.255.255.255 UGH 0 0 0 3g-wan
128.0.0.0 10.8.0.1 128.0.0.0 UG 0 0 0 tun0
172.20.1.0 10.8.0.1 255.255.255.0 UG 0 0 0 tun0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan
ZTE MF 286D OpenWrt 23.05-SNAPSHOT r23484-b742216dc8
Zyxel EX5601-T0 ubootmod OpenWrt 24.10-SNAPSHOT, r28432-7609571dcd
TP-LINK Archer C7 v5 - 1.14.0.2 (Built 20231226-1035 git@8e210b77)