OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Add plugins to OpenVPN
« previous next »
  • Print
Pages: [1]

Author Topic: Add plugins to OpenVPN  (Read 3239 times)

liver007

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
    • View Profile
Add plugins to OpenVPN
« 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!
« Last Edit: August 29, 2019, 07:01:28 am by fabian »
Logged

BeNe

  • Full Member
  • ***
  • Posts: 113
  • Karma: 13
  • Use *BSD and feel free!
    • View Profile
Re: Add plugins to OpenVPN
« Reply #1 on: April 17, 2018, 04:34:46 pm »
Quote
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.
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Add plugins to OpenVPN
« Reply #2 on: April 17, 2018, 07:12:25 pm »
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.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Add plugins to OpenVPN
 

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