[vpn-help] problems setting up VPN network
Matt Patey
matt at kentroad.plus.com
Wed Jan 9 13:31:49 CST 2013
Hi,
I am trying to set up a VPN connection to my home LAN. I can
successfully establish the tunnel, but cannot ping any of the computers
on the remote LAN and my internet connection is not routed through the
tunnel and I suspect I have a routing problem. If anyone can tell me what
I'm doing wrong or point me in the right direction I would be very grateful.
I am connecting to a Netgear Prosafe SRXN3205 VPN firewall from a Linux
Mint 13, 64bit client. I compiled version 2.2.0-rc2 of the client (due
to an issue with the packaged version in the Ubuntu repositories that
means it doesn't work). I have followed this guide closely:
http://www.shrew.net/support/Howto_Netgear
The subnets involved are:
192.168.1.0/24 - remote (host) LAN (behind Netgear router)
192.168.0.0/24 - client LAN
10.2.25.0/24 - address range assigned to VPN clients
Once the tunnel is established my computer's routing table is as follows
(the 2nd and 3rd entries were added by the shrew client):
$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0
10.2.25.0 0.0.0.0 255.255.255.0 U 0 0 0 tap0
[NG public IP] 192.168.0.1 255.255.255.255 UGH 0 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
192.168.0.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
The Netgear router's routing table looks like this (I added the 3rd line with a
manual route, but it still doesn't work):
Interface Name Destination Mask Gateway Metric
WAN-VIRTUAL 87.194.204.1 255.255.255.255 0.0.0.0 0
LAN 192.168.1.0 255.255.255.0 0.0.0.0 0
LAN 10.2.25.0 255.255.255.0 0.0.0.0 2
WAN-VIRTUAL 87.194.204.0 255.255.252.0 0.0.0.0 0
WAN-VIRTUAL default 0.0.0.0 87.194.204.1 0
Thanks for your attention!
Matt
More information about the vpn-help
mailing list