New Member
Posts: 20
Registered: ‎01-11-2017

Site to site vpn between EdgeRouter Lite and Digital Ocean droplet

Hi guys,

 

I have an EdgeRouter Lite at home and I want to connect it to a Digital Ocean droplet I have so all the traffic comming into the EdgeRouter can exit through the remote droplet. I know I just need to setup a simple site to site vpn between the edge router and the droplet but what the simplest way to do it? Should I use a simple IPSec vpn? Do you have any tutorial to install this vpn on the digital ocean droplet?

 

Best regards

Highlighted
Member
Posts: 147
Registered: ‎05-27-2015
Kudos: 12
Solutions: 6

Re: Site to site vpn between EdgeRouter Lite and Digital Ocean droplet

If you are not familiar with configuring ipsec tunnels, you will want to use a site to site openvpn config. You will need to enable IP forwarding in the kernel the droplet uses, and make sure your firewall is setup correctly so you are not forwarding traffic from the internet.

 

As for a how-to goes, do a lot of googling. The edgrouter config is straightforward, but the updates to the kernel and the openvpn config is usually outside the normal scope of this forum. Below are some links.

 

https://linuxconfig.org/how-to-turn-on-off-ip-forwarding-in-linux

https://jorudolph.wordpress.com/2011/01/16/openvpn-site-to-site-setup/

https://docs.openvpn.net/how-to-tutorialsguides/site-to-site-layer-2-bridging-using-openvpn-access-s...