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

Re: [Openvpn-users] Server not routing to Intranet


  • Subject: Re: [Openvpn-users] Server not routing to Intranet
  • From: James Yonan <jim@xxxxxxxxx>
  • Date: Thu, 29 Jul 2004 17:46:15 -0500

Fabio,

Try adding the "show-net-up" option and trying again.  This won't necessarily 
fix the problem but will output the current routing table to the log file, 
giving us a better handle on what's happening.

James

On Thursday 29 July 2004 17:17, Fabio Antonio Esquivel Chacón wrote:
> Now that I got my connection up & running on the default UDP port 5000, the
> server denies the setting of a route through the VPN:
>
>    route ADD 10.2.0.0 MASK 255.255.0.0 10.3.2.2 METRIC 1
>    Warning: route gateway is ambiguous: 10.3.2.2
>    ROUTE: route addition failed using CreateIpForwardEntry: The parameter
> is incorrect. Route addition via IPAPI failed
>
> This is my setup:
>
> 196.40.x.x  -> Public IP address I got from my dial-up ISP (DHCP server)
> 10.3.2.2    -> My (roadwarrior) notebook's TAP adapter
>
> 10.3.2.1    -> VPN endpoint (TAP adapter on the server, listening on UDP
> 5000) 10.3.1.11   -> VPN server's real IP address in the intranet (physical
> NIC)
>
> 10.3.1.0/24 -> Local intranet, where I'm connecting to
> 10.3.1.1    -> CISCO box, default gateway in the intranet, to other
> intranets This one also knows how to reach 10.3.2.0/24 (the clients) by a
> static route through 10.3.1.11
>
> 10.2.0.0/16 -> Another intranet elsewhere, reachable through 10.3.1.1
>
> I tried these combinations too:
> - "route 10.2.0.0 MASK 255.255.0.0 10.3.2.1"
>    No error, but it routes 10.3.2.1 through 196.40.x.x, not through
> 10.3.2.2
>
> - "route 10.2.0.0 MASK 255.255.0.0 10.3.1.1"
>    Same as above
>
> What am I doing wrong?

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