Reply To: ZeroShell VPN Lan to Lan malfunction

Home Page Forums Network Management ZeroShell ZeroShell VPN Lan to Lan malfunction Reply To: ZeroShell VPN Lan to Lan malfunction

#51818

porkradish
Member

ZSHLL site 1 eth0 192.168.0.223/24
eth1 XXX.XXX.XXX.XXX
VPN 20.20.20.1 Server

ZSHLL site 2 eth0 192.168.2.223/24
eth1 YYY.YYY.YYY.YYY
VPN 20.20.20.2 Client

The VPN goes up and the routing rules are the following:

ZSHLL site 1 192.168.2.0/20 20.20.20.2
ZSHLL site 2 192.168.0.0/20 20.20.20.1

It might be a typo but 192.168.2.0/20 is using a different subnet then 192.168.2.223/24

check your routing and see if it is set to /24 not /20.

the output of your route command would be helpful from both boxes – like:


root@zs-noc-1 sbin> route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.255.255.0 U 0 0 0 ETH01
10.0.1.0 * 255.255.255.0 U 0 0 0 BRIDGE00
192.168.1.0 * 255.255.255.0 U 0 0 0 ETH00
192.168.44.0 10.0.1.44 255.255.255.0 UG 0 0 0 BRIDGE00
192.168.250.0 * 255.255.255.0 U 0 0 0 VPN99
10.10.10.0 10.0.1.4 255.255.255.0 UG 0 0 0 BRIDGE00
192.168.40.0 10.0.1.4 255.255.255.0 UG 0 0 0 BRIDGE00
10.1.0.0 10.0.1.12 255.255.0.0 UG 0 0 0 BRIDGE00
default 192.168.1.1 0.0.0.0 UG 0 0 0 ETH00