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

Re: [Openvpn-users] Problem with multiple push "route..."


  • Subject: Re: [Openvpn-users] Problem with multiple push "route..."
  • From: "Thomas Heidemann" <Thomas.Heidemann@xxxxxxxxxxxxxxxx>
  • Date: Tue, 12 Sep 2006 09:00:33 +0200

Title: Re: [Openvpn-users] Problem with multiple push "route..."
Hi Erich,
 
yes, I tested the interfaces (tun and eth) on both sides of the tunnel.
If I only push one route (doesn't matter which one), the tunnel stays up and everything is fine.
How can I push two routes in one push statement? I didn't find it in the docs.
 
Unfortunately, I have to use TCP to be able to use the vpn in an enviroment, where I only have a http proxy to connect with the outside world :(
But I'm thinkting about another openvpn instance which serves the same but with UDP for normal connect, where I'm not used to use a proxy.
Setting the redirect-gateway of cource is one solution but it has to work without that, too.
 
Thanks for your help.
 
Regards,
Thomas


Von: Erich Titl [mailto:erich.titl@xxxxxxxx]
Gesendet: Di 12.09.2006 08:51
An: Thomas Heidemann
Betreff: Re: [Openvpn-users] Problem with multiple push "route..."

Thomas

Thomas Heidemann wrote:
> Hi Erich,
>
> of course "a" is not "1" :)
> Sorry for the obfuscate network address but I have to...
>
> Now I double checked the firewall settings, the routing tables and the
> configs.
> The ping from client to the vpn server or to one host in the mentioned
> networks is leaving through the tun0 interface, which is perfect. But it
> never arrives at the server! (checked with tcpdump) I don't know why!?
> In debugging mode I can see that the client is sending a lot of
> TCPv4_CLIENT WRITE but never receives and TCPv4_CLIENT READ statements.
> The server itself is sending a lot of TCPv4_SERVER WRITE but does not
> receive the packets from the client. So the connection is closed after
> some seconds (keepalive setting).

You checked the tun and the physical interface on both sides I guess.

> If I only push one route to the client (or the default route
> replacement) everything is fine. The tunnel comes up, stays up and
> traffic is working like a charm. I already tested with UDP and had no
> luck too. Same problem!

If you test with a single push, does it happen with either of the two
routes?

Have you tried to add both routes to a single push?

Unless you have specific needs to use TCP I would suggest to stick with
UDP, less hassle.

Checking my own, comparable, setup I see that I actually push
redirect-gateway, which runs in your case.

cheers

Erich

-------------------------------------------------------------------------
Get stuff done quickly with pre-integrated technology to make your job easier
_______________________________________________
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/2006-09/msg00083.html on line 203

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/2006-09/msg00083.html on line 203