openvpn not routing through droplet

September 18, 2015 1k views
VPN Debian

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?

Be the first one to answer this question.