|
|
On Sun, 10 Jul 2005, Michael Hieb wrote: > Hi All, > > I've long had OpenVPN 1.6 running between two Suse 9.1 boxes using > static keys. I have recently upgraded to Open VPN 2.0 using certificates > and tls-auth. On the server side I am using bridge-ethernet with the > goal that clients that connect will interact with the system DHCP server. > > I have the following odd problem. If I connect from Suse 9.1 laptop with > the options shown at the end, the connection is smooth, but ifconfig > does not show a tap0 device and dhcp has not run. If I manually run > 'ifconfig tap0' and 'dhcpcd -G -R -n -h laptop tap0' then the device > tap0 is brought up and dhcp configures just fine. The problem is how to > automate this? If I add to the client configuration for laptop 'up > client.up' and put these two commands in client.up, then I do not > connect properly. I've have poured through the documentation and tried > every permutation I can think of. Apologies in adavnce if I have missed > something obvious, but I need a clue. Remember that OpenVPN calls the up script synchronously and waits until it has exited before starting the tunnel. Because of this, if the up script needs to do something which will cause tunnel communication, it should invoke a secondary script in the background with the "&" postfix. James ____________________________________________ 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/2005-07/msg00078.html on line 201 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/2005-07/msg00078.html on line 201 |