Score:0

Configure a tunnel between a public server and clients

ky flag

I have an Ubuntu Server running under Google Cloud with a public IP address assigned and remote clients, each with a different public IP address (as they are behind different routers).

With that, I would like to create a tunnel between the server and those clients evading router configurations like port enabling for the client side and make the clients accessible through the internet for remote connection with the traffic passing through the server.

So far I have thought in a public DHCP server and making those client connect to this DHCP (as it would make them go into the same network as the server) and building a public VPN from the server to the clients (using authentication for security of both server´s and client networks) but I don´t know if any of those solutions suits my needs / can be applied for this scenario or if there is a better solution to be applied.

vidarlo avatar
ar flag
DHCP does not work the way you think it does. I would suggest to pay someone with a modicum of networking competency to sketch and possibly implement a solution for you - or prepare to read up on a *lot* of networking topics.
Diego Manzanares avatar
ky flag
@vidarlo I finally implemented a VPN and its working fine. The clients are getting the configuration given by the GCP using OpenVPN, so they are connected to each other. Thanks anyway for your answer.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.