On my Lan I have 192.168.1.111 hosting a bunch of various services not containerized. All connections are done either from my internal lan or from wireguard going through 192.168.1.111 so no external traffic bar wireguard.

I’ve set the host name of 111 in the hosts file inside the router and 111 and it works for all devices expect the ones connecting via wireguard.

But I dont want to have to use hostname+port for every service, I’d like each service to have its own name. I’d also like certs.

Can someone point me in the right direction for what I need to do? I’m thinking maybe this requires a local DNS server which im hesitant to run because im happy using 8.8.8.8.

For certs do I create a single cert on the 192.168.1.111 and then point all the applications to it?

  • CameronDev@programming.dev
    link
    fedilink
    English
    arrow-up
    15
    ·
    edit-2
    4 hours ago

    Nginx proxy manager can help you with all of that.

    basically want a domain name that you can use to subdomain each service off.

    E.g:

    https://service1.auth.local/ -> proxies your first service (192.168.1.111:4567)

    Https:/service2.auth.local -> proxies to the second (192.168.1.123:9876) And so on.

    If you purchase an actual domain name, you can get letencrypt certs via nginx proxy manager, and it all works very smoothly.

    • Auth@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      4 hours ago

      Ok thanks ill give that ago tonight. I never would have thought of a proxy manager.