Koozali.org: home of the SME Server

[SOLVED] SME Server OpenVPN bridge with CentOS7

Offline deathsonic18

  • 16
  • +0/-0
Re: SME Server OpenVPN bridge with CentOS7
« Reply #15 on: February 26, 2016, 08:55:30 AM »
btw, for anyone out there;
if you'll like to turn this openvpn into a service inside CentOS; simply use

Code: [Select]
sudo systemctl -f enable openvpn@newclient.serviceThen you may access it from /usr/lib/systemd/system
then you vi/nano
Code: [Select]
openvpn@newclient.serviceFrom there, you use
Code: [Select]
--config <the location of your config file> i.e. /etc/openvpn/client.conf and other advanced settings
« Last Edit: February 26, 2016, 09:03:42 AM by deathsonic18 »

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: SME Server OpenVPN bridge with CentOS7
« Reply #16 on: February 26, 2016, 09:08:02 AM »
You don't need to edit a openvpn@newclient.service file, especially in /usr/lib/systemd/system (if you have to create your service file, just do it in /etc/systemd/system). Just create your config file /etc/openvpn/newclient.conf and enabled and start the openvpn@newclient.service. That's it. Nothing else to do.
C'est la fin du monde !!! :lol:

Offline deathsonic18

  • 16
  • +0/-0
Re: SME Server OpenVPN bridge with CentOS7
« Reply #17 on: February 26, 2016, 09:12:02 AM »
Daniel, I have tried to implement DuplicateCN enabled inside the sme server console using

Code: [Select]
openvpn --dupliacteCN enabled
however it can not take the command  :?

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: SME Server OpenVPN bridge with CentOS7
« Reply #18 on: February 26, 2016, 09:14:35 AM »
Code: [Select]
db configuration setprop openvpn-bridge duplicateCN enabled
signal-event openvpn-bridge-update
C'est la fin du monde !!! :lol: