tech-net archive

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

Re: npf and ephemeral interfaces (tun0)



On Wed, 17 Feb 2016 15:26:55 +0000
David Brownlee <abs%absd.org@localhost> wrote:

> I have a server which needs to run an npf map rule on its OpenVPN
> interface (tun0).
> 
> I can create the rule fine, but when the system restarts tnpf rejects
> the rulset because there is no tun0 interface. Am I missing something?
> Is there a way around this?

I do "ifconfig tun0 create" in /etc/netstart.local combined with
"openvpn --persist-tun" to prevent it from removing the interface on
reconnect.

-Tobias


Home | Main Index | Thread Index | Old Index