Connecting servers together that are on another network

MadMac Mig

Member
Dec 21, 2020
7
0
6
24
h0riz0nentertainment.wixsite.com
Hello,

I am wanting to connect servers together but that are on a different network. I have 1 server at my friends house in Portugal, 1 server in my friends house in England and 4 servers in my house here in England, and I would like to know if there is a way of connecting them up together as like a cluster or something.
 
Hey,

I'd suggest you use a VPN, you just need one server with a public IP. As a VPN you can use Wiregiard [1], the server with the public IP will be your VPN server. [2] is a small script that sets the server up and allows you to add and remove clients that are allowed to connect to the server, you can also set the server up manually. Once the server is setup you, you can connect to it easily using the config file the script produces when you add a new client.

[3] is a guide for setting up the VPN server and connecting to it with a client, if you use the script [2] a few things are done automatically, but that's up to you.

When all of the servers are connected to the VPN, they can communicate as if they were on the same LAN.

[1] https://www.wireguard.com/
[2] https://github.com/angristan/wireguard-install
[3] https://www.linode.com/docs/guides/set-up-wireguard-vpn-on-ubuntu/
 
Last edited:
  • Like
Reactions: MadMac Mig
Hey,

I'd suggest you use a VPN, you just need one server with a public IP. As a VPN you can use Wiregiard [1], the server with the public IP will be your VPN server. [2] is a small script that sets the server up and allows you to add and remove clients that are allowed to connect to the server, you can also set the server up manually. Once the server is setup you, you can connect to it easily using the config file the script produces when you add a new client.

[3] is a guide for setting up the VPN server and connecting to it with a client, if you use the script [2] a few things are done automatically, but that's up to you.

When all of the servers are connected to the VPN, they can communicate as if they were on the same LAN.

[1] https://www.wireguard.com/
[2] https://github.com/angristan/wireguard-install
[3] https://www.linode.com/docs/guides/set-up-wireguard-vpn-on-ubuntu/
Thank you so much for your help
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!