Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hello, I’ve set up a droplet to serve as a VPN (using the OpenVPN Access Server marketplace image) and added a Reserved IP address. I am trying to make the egress IP on the droplet be the Reserved IP. This guide is my source: https://docs.digitalocean.com/products/networking/reserved-ips/how-to/outbound-traffic/
I log in via PuTTY and retrieve the Anchor IP using this command from the docs:
curl -s http://169.254.169.254/metadata/v1/interfaces/public/0/anchor_ipv4/gateway
that returns 10.10.0.1
I use that IP in this command from the docs:
sudo sh -c “ip route del 0/0; ip route add default via 10.10.0.1 dev eth0”
At this point the PuTTY window freezes, and after no amount of time am I able to log back in or access the droplet via the OpenVPN web interface. I have to destroy the droplet to try again. I have also tried:
sudo sh -c “ip route del 0/0; ip route add default via 10.10.0.1/16 dev eth0”
as well as this, first: sudo ip addr add 10.10.0.1/16 dev eth0
If anyone knows how to properly execute this command, please let me know! Thank you in advance
Leon Junior
Leon Junior
hashembarret@gmail.com
hashembarret@gmail.com
dc4230bda0b4464dbcf3a811978d84
tecnico genny
max johnson
220b5e1380f8416db566e9737f7170
Hadi
Hadi
EatingAquamarineScubaDiver
4dffced50bf3449a896580359da481