[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: openvpn restart - bridge loses tap0 interface



On Wed, Mar 04, 2009 at 02:43:18PM -0600, Boyd Stephen Smith Jr. wrote:
> On Wednesday 04 March 2009 07:47:06 Bernd Aufrecht wrote:
> > How can I create a permanent tap0 interface?
> 
> Tap interfaces are by their very nature transient, so that's not very easy.  
> You could use tunctl to create the tap interface, but I'm not sure if 
> OpenVPN will use an existing tap interface the way you'd like.

mine always turn up on the right tap devices
dev tap0
proto tcp-client

I explicitly set the dev name 

> 
> > Is /etc/network/if-pre-up.d/bridge a good place to start
> > or am I missing something in the config?
> 
> You should probably figure out a way to tell OpenVPN to run a script after 
> it has created the tap interface, and use that script to add the interface 
> to your persistent bridge (instead of/in addition to whatever configuration 
> OpenVPN is already doing to the device).
> -- 
> Boyd Stephen Smith Jr.           	 ,= ,-_-. =.
> bss@iguanasuicide.net            	((_/)o o(\_))
> ICQ: 514984 YM/AIM: DaTwinkDaddy 	 `-'(. .)`-'
> http://iguanasuicide.net/        	     \_/
> 



-- 
Sank heaven for leetle curls.

Attachment: signature.asc
Description: Digital signature


Reply to: