views:

24

answers:

1

I'm trying to get an openVPN server setup at my house. right now it is currently on a box running ubuntu server. I have everything setup and I can connect to the openVPN box and I can talk with the actual server, but I can't get out on to the LAN that the openVPN box is connected to. When I add a line to server.conf that says

push "route 192.168.101.0 255.255.255.0"

I lose the ability to talk to the box nor can I get the 192.168.101.0 subnet(the local subnet that the openVPN server is on. When I take that line back out i can again talk with the server.

Any ideas? Do I somehow need to specify where I want that route to be pushed to(in this case out eth0)?

so something changed, not sure what, but I can now ping back and forth when the push line is uncommented, but I still can't get out local lan that the vpn server is connected to. here is what it says when I type route in linux

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.8.0.2        *               255.255.255.255 UH    0      0        0 tun0
192.168.101.0   *               255.255.255.0   U     0      0        0 eth0
10.8.0.0        10.8.0.2        255.255.255.0   UG    0      0        0 tun0
default         192.168.101.1   0.0.0.0         UG    100    0        0 eth0

any thoughts why I can't get from the 10.8.0.0 subnet to the 192.168.101.0?

A: 

Figured it out. Had to add a route to my router that pointed my VPN subnet back at the VPN server.

Andy