Link to home
Start Free TrialLog in
Avatar of mubama0n
mubama0n

asked on

Bridge-Start Script Sequense Before OPENVPN on boot

Simple all you need to a .conf file in /etc/openvpn and the daemon will startup when booting. However when running a bridged vpn one is required to start the bridge first: http://openvpn.net/index.php/documentation/miscellaneous/ethernet-bridging.html

The OpenVPN bridge can now be started and stopped using this sequence::
* run bridge-start
* run openvpn
* stop openvpn
* run bridge-stop

The question is how can I have the bridge-start script run before the daemon starts openvpn when then server boots ?

Is it advisable or safe to edit the script /etc/init.d/openvpn ?

Always appreciative...
Avatar of mubama0n
mubama0n

ASKER

Just I would like to Add that I have the following message After Starting my Openvpn on the (Client):

Cannot ioctl TUNSETIFF tap0: Device or resource busy (errno=16)

Cannot open TUN/TAP dev /dev/tap0: No such file or directory (errno=2) ...

Regards
ASKER CERTIFIED SOLUTION
Avatar of rindi
rindi
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial