I am trying to block SSH access to my VPS from Internet, the idea is to block incoming SSH port using DigitalOcean cloud firewall for public IP interface. To connect to my VPS I am planning to SSH the private IP via VPN (OpenVPN).
Currently I already have OpenVPN server running and can ping the it self VPN server private IP from my notebook. But somehow I can’t ping/access other private IPs from my notebook.
Please help how I can achieve this scenario?
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!
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.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Hi there,
I’ve just tested this with the 1-Click OpenVPN installation from the Marketplace:
During the setup, the private subnets should be detected automatically and you will be asked if you want the private sunets to be accessible to clients by default, eg:
If you set that option to yes, when you are connected to the VPN you should be able to access the rest of the Droplets within that same VPC.
If you did not select that option during the initial setup, you can update it via the OpenVPN Access Server’s web interface. Here’s how to find it:
https://your_server_ip:943/admin
unless you’ve changed the portLet me know how it goes!
Best,
Bobby