Page 1 of 1

Stuck at configuring OpenVPN between 2 servers

Posted: Mon Aug 12, 2019 7:35 am
by Kai3

Please help

I am a user of Digital Ocean.
I am reading a tutorial below

How To Secure Traffic Between VPS Using OpenVPN ... ng-openvpn

I faced some issues but I found solutions, and then I finally went to at the end of that tutorial.

But my VPN doesn't work.

Could you please help?

Thank you

Best regards,

Re: Stuck at configuring OpenVPN between 2 servers

Posted: Wed Aug 28, 2019 4:53 am
by Kai3

I will write what problem I have. Please help!

In this tutorial, ... ng-openvpn

At the very end, I type ping but no response.

PING ( 56(84) bytes of data.
--- ping statistics ---
9 packets transmitted, 0 received, 100% packet loss, time 8199ms

So I kept reading over and over if any mistake I made. I tried to modify some to test if it works, but it doesn't work.

I doubt this is something wrong.
In tutorial, it says like this.

You can also type:

service openvpn status
and if OpenVPN is running, you'll see the following:

* VPN 'server' is running

When I type service openvpn status, out come is like this below.
It doesn't say, VPN 'server' is running
It only says, active (exited)
It doesn't say, active (running)

service openvpn status
[sudo] password for XXXXXXXX:
‚óŹ openvpn.service - OpenVPN service
Loaded: loaded (/lib/systemd/system/openvpn.service; enabled; vendor preset: enabled)
Active: active (exited) since Wed 2019-08-07 08:17:43 UTC; 2 days ago
Process: 1694 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 1694 (code=exited, status=0/SUCCESS)
Tasks: 0
Memory: 0B
CPU: 0
CGroup: /system.slice/openvpn.service

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

So I read the section below, but checking again and again, but I can't fix.
OpenVPN Server config files
On Droplet 1

I thought firehol might be causing this problem, and I checked again. But still issue remains.

Please help

Thank you

Best regards,