-1

I was trying to setup an OpenVPN server on LinuxMint 17.1 using the following guide: Click me.

I followed up to the part where you start up OpenVPN with the following command: service openvpn start

That brought the following response:

* Starting virtual private network daemon(s)... * Autostarting VPN 'server' foo-server random-folder #

But when I check the service status it says that OpenVPN isn't running. Any ideas? This is my /var/log/syslog: PasteBin.

Thanks.

Njinx
  • 13
  • 1
  • 6

1 Answers1

0

First of all, you can use grep to filter only the error related to openvpn, for example:

tail -f /var/log/syslog | grep ovpn-server

Anyway, from the syslog error you are getting:

ovpn-server[16840]: Options error: --ifconfig-pool/--ifconfig-pool-persist requires --mode server

It is very clear, you need to add the option --mode server too, in the config file for the --ifconfig-pool or --ifconfig-pool-persist to work.

So add a line with mode server in the server conf file and see.

Deatils config ref: https://openvpn.net/index.php/open-source/documentation/manuals/65-openvpn-20x-manpage.html

Diamond
  • 9,001
  • 3
  • 24
  • 38