Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
add tun interface
« previous
next »
Print
Pages: [
1
]
Author
Topic: add tun interface (Read 2925 times)
ctr
Newbie
Posts: 20
Karma: 0
add tun interface
«
on:
December 11, 2021, 03:47:30 am »
It looks like in the past it was possible to bring up an arbirtrary interface (i.e. tun) and then it would be configurable in the GUI (see
https://forum.opnsense.org/index.php?topic=3168.msg10301#msg10301
), but this doesn't seem to work anymore. I'm working with a tun interface that works perfectly fine on the BSD layer but for some functionality I need to add it to the OPNsense configuration as well.
Any suggestions how to achieve this?
Logged
evalfun
Newbie
Posts: 8
Karma: 0
Re: add tun interface
«
Reply #1 on:
February 19, 2022, 05:00:51 pm »
opnsense will filter interface name in the webui, you can use tun name like ovpns999 or ovpnc999
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: add tun interface
«
Reply #2 on:
February 19, 2022, 07:43:56 pm »
The "ovpns" and "ovpnc" trick will go away in 22.1.2 permanently after a brief time in 22.1.1 already.
You can use any unused device name really, I would recommend "custom" prefix or something that will never clash with existing VPN software or FreeBSD drivers. Just rename the device properly after creation (or better yet while creating it).
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
add tun interface