[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Help me to get my vpn to work please.


  • Subject: Re: [Openvpn-users] Help me to get my vpn to work please.
  • From: Martijn Lievaart <m@xxxxxxx>
  • Date: Wed, 02 Mar 2005 12:24:16 +0100

fed wrote:

Yes, i think it is a route problem but i don't know what i did wrong,
here are the route table:

The gateway - vpn server:

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.100.1   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
10.254.100.2    0.0.0.0         255.255.255.255 UH    0      0        0 tun0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
0.0.0.0         192.168.100.1   0.0.0.0         UG    0      0        0 ppp0

One of the clients in the lan (192.168.1.2):
===========================================================================
Route attive:
Indirizzo rete             Mask             Gateway       Interfac.  Metric
         0.0.0.0          0.0.0.0      192.168.1.1     192.168.1.2	  1
       127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1	  1
     192.168.1.0    255.255.255.0      192.168.1.2     192.168.1.2	  1
     192.168.1.2  255.255.255.255        127.0.0.1       127.0.0.1	  1
   192.168.1.255  255.255.255.255      192.168.1.2     192.168.1.2	  1
       224.0.0.0        224.0.0.0      192.168.1.2     192.168.1.2	  1
 255.255.255.255  255.255.255.255      192.168.1.2     192.168.1.2	  1
Gateway predefinito:       192.168.1.1
===========================================================================
Route persistenti:
 Nessuno




What's the IP of the VPN server? If it's 192.168.1.1, yur routing on the lan is correct, other wise you need to add a route to the vpnclient via the vpnserver.


The route on the vpnclient (road warrier) seems correct, but did you check that it is indeed added?

Again, use (t)ethereal on the vpn server to find out what is really happening!

HTH,
M4


____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-03/msg00037.html on line 213

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-03/msg00037.html on line 213