Stuck at configuring OpenVPN between 2 servers

This forum is for admins who are looking to build or expand their OpenVPN setup.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
Kai3
OpenVpn Newbie
Posts: 2
Joined: Mon Aug 12, 2019 7:10 am

Stuck at configuring OpenVPN between 2 servers

Post by Kai3 » Mon Aug 12, 2019 7:35 am

HI,

Please help

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

How To Secure Traffic Between VPS Using OpenVPN
https://www.digitalocean.com/community/ ... 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,
Kai

Kai3
OpenVpn Newbie
Posts: 2
Joined: Mon Aug 12, 2019 7:10 am

Re: Stuck at configuring OpenVPN between 2 servers

Post by Kai3 » Wed Aug 28, 2019 4:53 am

Hello,

I will write what problem I have. Please help!

In this tutorial, https://www.digitalocean.com/community/ ... ng-openvpn

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

ping 10.8.0.1
PING 10.8.0.1 (10.8.0.1) 56(84) bytes of data.
^C
--- 10.8.0.1 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,
Kai

Post Reply