Hi!

I am finally dabbling in some self-hosting and I’m having trouble on the very final steps.

The setup:

I have a simple NUC that’s hosting caddy and a dynamic dns solution

I have port forwarded ports 443 and 80 to my local machine

I have a domain pointing towards my public ip

My router is a sercom 00200106 brought by my isp

The problem:

¿I can’t seem to get past the router?

Whenever I try to get in through my local network I get an “intercept.hmtl” from the router and anyone to get from outside just gets a timeout.

If anyone has any idea how’d I go about moving forward the domains “https://gonzako.com/” I have managed to get caddy to show the “hello world” through localhost so I know the service is working

Many regards!

Gonzako

Edit: I am not behind NAT as I did a traceroute towards my public ip and it did only a single hop

  • Gonzako@lemmy.worldOP
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    I think I am behind a double Nat as I’ve tested your higher than 1024 port option and it hasn’t worked

    • darkan15@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      1 month ago

      Well, if you are forwarding the ports from your home router, and you can’t reach, it’s the most probable cause, if you are, that means that there is no public IP reaching your home router.

      You could contact your ISP and confirm if this is the case, they could offer to assign a public IP for an extra fee, your only other option is to rent a cheap VPS and tunnel traffic between it and your home, but at this point you could also decide to host stuff on the VPS.

      • Gonzako@lemmy.worldOP
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

        Oh! I am actually not behind Nat as I did a traceroute towards my public ip and it only did one hop. So it’s seems to be the port forwarding in itself not working

        • bigredgiraffe@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 month ago

          To add some more info to what the others are saying, if your public IP address is in the range 100.64.0.0/10 (so between 100.64.0.0 and 100.127.255.255) then it is a CGNAT IP and you will not be able to make port forwarding/NAT work to/from the public internet because your public IP is not actually a publicly routable IP on the internet no matter what your ISP calls it. Hope that helps!