OPNsense Forum
English Forums => General Discussion => Topic started by: liver007 on April 17, 2018, 03:40:04 pm
-
Hi there, My name is Gozzi
I'm trying to add a Duo Security plugin (https://duo.com/docs/openvpn) to OpenVPN under OPNsense, but can't figure out how to load. It doesn't look like OPNsense uses a standard OpenVPN server.conf config file so I'm not sure where to load the plugin. Does OPNsense use an XML file for config data, like pfSense?
The OPNsense docs include a few plugins for OpenVPN (see below) -- so it seems like this should be possible.
===============================================================
Plugin VPN options
Via plugins additional VPN technologies are offered, including:
Legacy L2TP & PPTP
Tinc - Automatic Full Mesh Routing
Zerotier - seamlessly connect everything, requires account from zerotier.com, free for up to 100 devices.
===============================================================
If anyone can provide assistance I would appreciate it!
-
It doesn't look like OPNsense uses a standard OpenVPN server.conf config file so I'm not sure where to load the plugin
OPNsense uses a default server.conf that is generated via the GUI.
You will find the file under: /var/etc/openvpn/
For example --> /var/etc/openvpn/server1.conf
Hope this helps.
-
The plugin can probably be loaded as an advanced custom config. However you must compile the shared object first on OPNsense if that works.
This seems to be the repository:
https://github.com/duosecurity/duo_openvpn
From the issues I think you may need to patch the makefile to make it work.