OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 16.1 Legacy Series »
  • Adding tun0 interface for tinc to GUI for creating firewall rules?
« previous next »
  • Print
Pages: [1]

Author Topic: Adding tun0 interface for tinc to GUI for creating firewall rules?  (Read 3879 times)

dirkhschulz

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Adding tun0 interface for tinc to GUI for creating firewall rules?
« on: June 07, 2016, 08:01:04 pm »
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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13957
  • Karma: 1210
    • View Profile
Re: Adding tun0 interface for tinc to GUI for creating firewall rules?
« Reply #1 on: June 21, 2016, 09:24:56 pm »
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
« Last Edit: June 21, 2016, 09:32:50 pm by franco »
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 16.1 Legacy Series »
  • Adding tun0 interface for tinc to GUI for creating firewall rules?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2