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)

  • @ccryx@discuss.tchncs.de
    link
    fedilink
    English
    18 months 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.

  • @zfaB
    link
    fedilink
    English
    18 months 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.

  • @meijadB
    link
    fedilink
    English
    18 months ago

    Tailscale should work in this scenario.