On Wed, May 06, 2009 at 11:20:43AM -0400, Jason Dixon wrote:
> So apparently OpenVPN is a douche of an application by
> destroying/recreating any tun devices you ask it to bind to.  This
> causes havoc with pf/altq if you queue on those tun interfaces.
> 
> I've asked on the openvpn-users mailing list if there's any way to have
> OpenVPN avoid teardown of an existing tun(4) interface but nobody had
> any useful answers (besides "use the up/down scripts")... yeah, thanks.
> Has anyone here used OpenVPN in server mode and overcome this?
> 

How does openvpn destroy the interfaces? IIRC they just close the fd and
that is causing the interface to be destroyed if it was auto created.

Did you try to "ifconfig tunX up" before starting openvpn? These
interfaces will not be auto destroyed on close and remain available.

-- 
:wq Claudio

Reply via email to