By Daenerys
Hello,
I have two servers, one distant VPS with a public address and the other one at my home. I would like to know if is it possible to link (with VPN) this 2 servers to allow the first one to get files on my home network. I already set up an openVPN server at my home but I do not know how to configure my distant server to have an interface that will connect my home network and keep my services such apache, ssh, ftp on the public address.
My goal is to transfert file securely
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!
Yes, you can connect OpenVPN between two servers.
Simply set up the config, generate the certs and start the processes. Don’t forget the “client-to-client” option in the config file.
Otherwise, you can set up the server on one of the servers and client on another only if you have a free port that is visible from outside on one of them.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.