Can't reach Client Lan from OpenVPN Server

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
seeder
OpenVpn Newbie
Posts: 1
Joined: Sun Mar 31, 2013 2:01 pm

Can't reach Client Lan from OpenVPN Server

Post by seeder » Sun Mar 31, 2013 2:02 pm

I'm trying two connect two locations with OpenVPN.

Site1 - Fonera 2.0N as OpenVPN Server | Network 192.168.1.0
Site2 - WRT54GL (DD-WRT) as OpenVPN Client | Network 192.168.10.0

VPN Network 10.8.0.0


It connects Ok.

The problem is I can't reach 192.168.10.0 network from Fonera (Site1). I can only reach the VPN Network (10.8.0.0).

At Site2, with DD-WRT, I cant reach both 192.168.1.0 and 10.8.0.0 networks.

Fonera Routing Table:

Code: Select all

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.182.0   *               255.255.255.0   U     0      0        0 tun0
10.8.0.0        *               255.255.255.0   U     0      0        0 tun-ovpn
192.168.1.0     *               255.255.255.0   U     0      0        0 br-lan
169.254.0.0     *               255.255.0.0     U     0      0        0 br-lan
default         192.168.1.254   0.0.0.0         UG    0      0        0 br-lan

DDWRT Routing Table:

Code: Select all

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
"Public_IP"    192.168.10.1    255.255.255.255 UGH   0      0        0 br0
10.8.0.0        *               255.255.255.0   U     0      0        0 tun0
192.168.10.0    *               255.255.255.0   U     0      0        0 br0
169.254.0.0     *               255.255.0.0     U     0      0        0 br0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         10.8.0.1        0.0.0.0         UG    0      0        0 tun0
I tried to specify a route at Fonera like route add -net 192.168.10.0 netmask 255.255.255.0 gw 10.8.0.128

But did not work

Any help?

blumman
OpenVpn Newbie
Posts: 18
Joined: Mon May 13, 2013 8:07 am

Re: Can't reach Client Lan from OpenVPN Server

Post by blumman » Mon May 13, 2013 8:10 am

Hey there.

I got similar problems (but with a slightly different setup). I might be able to take you further if you post your configs. I have successfully run a similar setup as yours before.

My current setup I can ping both ends of the tunnel and both VPN servers but not any clients in either of the networks.

Post Reply