• 494 Posts
  • 4.3K Comments
Joined 2 years ago
cake
Cake day: July 7th, 2023

help-circle


  • Uhhhh…that is…not how you do that. Especially if you’re describing routing out from a container to an edge device and back into your host machine instead of using bridged network or another virtual router on the host.

    Like if you absolutely had to have a segmented network between hosts a la datacenter/cloud, you’d still create a virtual fabric or SDLAN/WAN to connect them, and that’s like going WAY out of your way.

    Wireguard for this purpose makes even less sense.






  • Nginx, Traefik, Caddy, HAProxy…lots of options.

    Nginx and Traefik are probably the most complex if you’re not familiar with either.

    HAProxy is dead simple if you solely intend to just use it as a reverse proxy.

    Caddy is fairly simple as well, but slightly more complex than HAP.

    If you’re not familiar with routing and VPNs in general, you may want to have a look at Tailscale or ZeroTier which use Wireguard under the hood, but making the routing dead simple, especially if you’re behind a NAT and don’t want to have to mess with ports forwarding.