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

Re: [Openvpn-users] up option in config.file


  • Subject: Re: [Openvpn-users] up option in config.file
  • From: "James Yonan" <jim@xxxxxxxxx>
  • Date: Sun, 8 Feb 2004 18:10:46 -0000

Francesco <kxwo@xxxxxxxxx> said:

> I saw the "up" option that execute command when the VPN is alive.
> 
> I thought for "VPN is alive" when someone connects to it... not when the program
> 
> just start! is there an option that executes a command when someone connects to
> 
> the VPN ?

Normally the --up script is run when the tun/tap interface comes up, before
anyone connects.  It is designed this way so that the script can do things to
the tun/tap interface such as ifconfig it, or add it to an existing bridge.

There is also a flag called --up-delay that is probably what you want.  It
waits for an actual connection with a remote peer before running the --up script.

James



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users