2

Hello everyone

I'm currently looking for a (centralized?) way to connect to my 'local' servers remotely.

I'm not looking for a Web-Based management software, but a way to ssh into the servers that are behind a nat. Port forwarding on firewalls/routers isn't an option since I don't have a dedicated IP.

I already took a look at Cloudflare tunnels and different VPN servers but nothing fits.

Any ideas on what software i could use?

Thanks in advance

EDIT: Since the servers aren't reachable from the outside, the client (server i want to connect to) needs to initialize the connection to a central server (cloud server/ server in dc) so that I can connect to it.
Similar to a Server, Client, Agent structure where my notebook is the client, the 'edge' server is the agent and the dc/cloud server is the server (obviously)

top 3 comments
sorted by: hot top controversial new old
[-] ccryx@discuss.tchncs.de 1 points 1 year ago

You could set up your servers to connect to an internet reachable server via wireguard, use something like tailscale or a reverse ssh tunnel, though the latter might be a bit unstable on intermittent connection loss without any further measures.

[-] zfa@alien.top 1 points 1 year ago

I'd have the clients connect to the central server in a hub-and-spoke VPN topology using something like WireGuard say.

Use the central host as either a jumphost or configure your personal devices to also connect to it via VPN and have it handle routing so you can connect directly to the clients once you're connected to the central server.

Thid is a somewhat standard topology so no need to reinvent the wheel.

[-] meijad@alien.top 1 points 1 year ago

Tailscale should work in this scenario.

this post was submitted on 08 Nov 2023
2 points (100.0% liked)

Self-Hosted Main

504 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS