Adding tun0 interface for tinc to GUI for creating firewall rules?

Started by dirkhschulz, June 07, 2016, 08:01:04 PM

Previous topic - Next topic
Hi all,

I have successfully setup and configured tinc via command line - now I would like to add firewall rules but see no way to add tinc's tun0 interface to the GUI.

Is there a way to trick tun0 into the GUI or do I have to add tinc related firewall rules via the command line?

Any hint or help is appreciated.

Cheers,

Dirk

Hi Dirk,

We have a workaround for this on the -devel version, you can see the how to here:

https://forum.opnsense.org/index.php?topic=917.0

After adding a tun0 in the system from the console, it'll show up in the interface selection.

https://github.com/opnsense/core/blob/master/src/www/interfaces_assign.php#L117-L125

Plugins in 16.7 will make this a lot easier as we've added pluggable hooks for custom-defined interfaces. A tinc plugin would be really nice to have! :)


Cheers,
Franco