[ previous ] [ next ] [ threads ]
 From:  "Youri Kersloot" <YKersloot at CrossingChannels dot com>
 To:  "Peter Allgeyer" <allgeyer at web dot de>
 Cc:  <m0n0wall dash dev at lists dot m0n0 dot ch>
 Subject:  RE: [m0n0wall-dev] OpenVPN on beta10: missing routing optionandsome bugs?
 Date:  Wed, 21 Sep 2005 09:37:17 +0200
Hi Peter,

But why did you remove the route checkbox? In the "Road Warrior"
document their is spoken about the option that is still left
(Redirect-gateway) and the "route" option.


-----Original Message-----
From: Peter Allgeyer [mailto:allgeyer at web dot de] 
Sent: dinsdag 20 september 2005 22:34
To: Youri Kersloot
Cc: m0n0wall dash dev at lists dot m0n0 dot ch
Subject: RE: [m0n0wall-dev] OpenVPN on beta10: missing routing
optionandsome bugs?

Am Dienstag, den 20.09.2005, 22:07 +0200 schrieb Youri Kersloot:
> Rereading the "Read Warrior" document, can you confirm that it will 
> send all traffic not to the LAN through the tunnel (like webbrowsing 
> on the client machine or the connection to a newsserver on the client 
> pc)
I can confirm, that "Redirect-gateway" deletes your current default gw
and creates a new one pointing to the tunnel device.

>From openvpn(8):

This option performs three steps:
(1) Create a static route for the --remote  address  which  for-
    wards to the pre-existing default gateway.  This is done so that 
    (3) will not create a routing loop.

(2) Delete the default gateway route.

(3) Set the new default gateway to be the VPN  endpoint  address
    (derived  either from --route-gateway or the second parameter to
    --ifconfig when --dev tun is specified).

Ciao ...
	... PIT ...

 copyleft(c) by |           Linux! Guerrilla UNIX Development Venimus,
 Peter Allgeyer |   _-_     Vidimus, Dolavimus. (By mah at ka4ybr dot com,
                | 0(o_o)0   Mark A. Horton KA4YBR)