Hi all,

I followed this tutorial:
https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-debian-8

now I’m stuck with this error when connecting from my client (Linux)
“Fri Sep 18 19:11:04 2015 us=643248 /sbin/ip route add IPOFMYDROPLET/32 via CONNECTINGIP
RTNETLINK answers: File exists”

and every connection drops, web , ssh, anything.

I guess I have an issue in routing, due to this error and to this route -n output.

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.7.5 128.0.0.0 UG 0 0 0 tun0
0.0.0.0 XXXX 0.0.0.0 UG 1024 0 0 wlan0
XXXX 0.0.0.0 255.255.248.0 U 0 0 0 wlan0
XXXX XXXX 255.255.255.255 UGH 10 0 0 wlan0
DROPLET_IP XXXX 255.255.255.255 UGH 0 0 0 wlan0
128.0.0.0 192.168.7.5 128.0.0.0 UG 0 0 0 tun0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
192.168.7.1 192.168.7.5 255.255.255.255 UGH 0 0 0 tun0
192.168.7.5 0.0.0.0 255.255.255.255 UH 0 0 0 tun0

any idea?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hello,

What I usually do is to use the OpenVPN image from the Marketplace here:

https://marketplace.digitalocean.com/apps/openvpn-access-server

It works out of the box and is really quick to setup.

Submit an Answer