openrc-discuss

bridging openvpn

nivwiz@xxxxxxxxx

Wed Nov 10 22:18:38 2010

I am running openrc 0.6.1-r1
my problem is:
I am using the default /etc/init.d/openvpn file.
and here is grep tap0 /etc/conf.d/net :
 *Quote:*
tuntap_tap0="tap"
config_tap0=( "null" )
br0 bridge_add_tap0="br0"
depend_tap0() {
before openvpn
}

after I boot the client manages to connect to the server. I need to do these
three things to get it all working:
1. ifconfig tap0 0.0.0.0
2. brctl addif br0 tap0
3. wait until I see tap0 enters forwarding state in /var/log/messages

how to avoid this , using /etc/conf.d/net ?

Follow-Ups:
Re: bridging openvpnEd W
Archive administrator: postmaster@marples.name