Use different device name with FreeBSD

David Woodhouse dwmw2 at infradead.org
Thu Mar 1 00:49:58 PST 2018



On Thu, 2018-03-01 at 09:35 +0100, Muenz, Michael wrote:
> Hi list
> 
> I'm want to build a OCServ plugin for OPNsense Firewall based on FreeBSD.
> In the config there's an option "device" to set the name of the tun device.
> 
> It seems to work fine on Linux but it doesn't work for FreeBSD.
> Whenever I connect with a client the device is called tunX+1.
> 
> Sadly this does interfere with the logic of OPNsense to assign 
> interfaces via UI.
> 
> Do you see any chances to port this feature also to FreeBSD?

That's more of a FreeBSD kernel question. I didn't *think* that FreeBSD
allowed you to arbitrarily rename tun devices. If it can, then we'll
teach openconnect and ocserv how to do it...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5213 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20180301/edc3987e/attachment.bin>


More information about the openconnect-devel mailing list