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

Re: [Openvpn-users] 1.5-beta6 testing report


  • Subject: Re: [Openvpn-users] 1.5-beta6 testing report
  • From: "Dave Lau" <dave@xxxxxxxxxxxxxxxxx>
  • Date: Fri, 22 Aug 2003 09:19:58 -0500

Hi, Tom,

I have done something similar to what you are describing by using a "sleep"
command to force the up script to wait a few seconds before executing.  This
seems to give openVPN time to establish the tunnel before the up script
runs, and allows the routes to be created correctly.  Maybe there is a good
way to cause a batch file to pause for a few seconds using native WinXP
shell commands, but I couldn't figure it out, so I downloaded a little
program called "sleep.com" from the following link:

http://www.computerhope.com/dutil.htm

then, I made my batch file look like this:

---------------------------------------------------------------
sleep 5
route add 172.16.0.0 mask 255.255.255.0 10.0.50.1
---------------------------------------------------------------

After a mildly annoying 5-second pause, The static route was created
properly.  I eventually got away from this and decided to use a bridged
connection instead of a routed one, but if you need to use routing for
whatever reason, give this a try.  It's not the prettiest solution, but it
seemed to produce the desired results, at least for me.

thanks,
Dave

----- Original Message -----
From: "Tom Bin" <s1curity@xxxxxxxxxxxx>
To: <openvpn-users@xxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, August 22, 2003 2:58 AM
Subject: [Openvpn-users] 1.5-beta6 testing report


> Hi,
>
>
> I've testing the openvpn 1.5-beta6 in the following combinations:
>
> FreeBSD <-> FreeBSD
> XP <-> FreeBSD
> XP <-> XP
>
> All are working just fine.
>
> I particularly prefer to use TCP mode because it is the only way to thru
> firewall.
> However I have a suggestion about the win32 version.
>
> From a windows box connect to a openvpn server by TCP port,
> the "up" script will execute "before" the TCP connection establishes.
> But I need to use the "up" script on Windows to assign the IP address
> and routing table after the TCP connection is established.
>
> It is not allowed to set additional routing table entries on the tap
> interface
> when it is down (disconnected) in Windows.
>
> Is it possible to run the "up" script after the TCP established when in
TCP
> mode?
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
> at the same time. Free trial click
here:http://www.vmware.com/wl/offer/358/0
> _______________________________________________
> Openvpn-users mailing list
> Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/openvpn-users


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