openvpn not routing through droplet

Hi all,

I followed this tutorial:

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 UG 0 0 0 tun0 XXXX UG 1024 0 0 wlan0 XXXX U 0 0 0 wlan0 XXXX XXXX UGH 10 0 0 wlan0 DROPLET_IP XXXX UGH 0 0 0 wlan0 UG 0 0 0 tun0 U 1000 0 0 wlan0 UGH 0 0 0 tun0 UH 0 0 0 tun0

any idea?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


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

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