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

[Openvpn-users] OpenVPN startup/DHCP scripts for OS X

  • Subject: [Openvpn-users] OpenVPN startup/DHCP scripts for OS X
  • From: Stephan Zalewski <stephan.zalewski@xxxxxx>
  • Date: Fri, 17 Feb 2006 15:21:40 +0100


I've created new scripts for pulling the DHCP options on OS X, making better use of OS X's system configuration framework.

They solve the problem of loosing the dhcp dns options when the lease of the original primary interface expires and dns informations are re- assigned. In this point they behave much more friendly toward the system than the original scripts from http://openvpn.net/archive/ openvpn-users/2005-08/msg00123.html

Also it doesn't require the replacement of the default route with "redicrect-gateway def1" to keep the original default gateway since the new created interface will become the default one by the system if required ("redirect-gateway" or "redicect-gateway local" is enough).

Maybe you can try them out and find them useful...

Best regards, Stephan

Attachment: client.down.osx.sh
Description: Binary data

Attachment: client.up.osx.sh
Description: Binary data

Attachment: PGP.sig
Description: This is a digitally signed message part