Error somewhere between router and server?

I’ve hit a wall, I don’t know how to proceed. I would really appreciate some insight.

I still consider myself a noob in most aspects, it’s likely that I’m overlooking something very simple.

From inside my network:

  • My home server is being run on Ubuntu Server
  • From my PC (not server) I can access my docker applications:
    • jellyfin.<domain.tld> directs me to Jellyfin.
    • <domain.tld> directs me to the default SWAG page.
  • It seems that SSL certs are being generated successfully and automatic HTTPS redirecting works.
  • Attempting to curl <domain.tld> returns with a 301 Moved Permanently (nginx) error.
  • I’ve got UFW enabled and ports 80 and 443 are set to allowed.

On the other side of my router:

  • I’ve got Cloudflare set up as my DNS provider. The records are not proxied, they’re set to DNS only.
  • Attempting to ping <domain.tld> with IPv4 will successfully identify my IP.
  • Attempting to ping <domain.tld> with IPv6 will successfully identify my IP but only includes a single entry with the text “Destination host unreachable”.

I’m using OpenWRT, and have factory reset it today for testing.

From default, the entirety of my router configuration has been as follows:

  • Delete the default WAN interface.
  • Add new interface:
    • set PPPoE protocol
    • bind it to eth1
    • enter ISP username
    • set the firewall zone to wan
    • disable ‘obtain ipv6 address’ (because of the aforementioned error warning).
    • Other basic config (enable wifi, set password, set static IP’s for known devices).

Firewall > Port Forwards >

    • name: http/https
    • address family: automatic
    • protocol: TCP/UDP
    • source: wan
    • external port: 80/443
    • destination: lan
    • internal IP: 192.168.1.157
    • internal port: 80/443

Appologies for the abundance of unnecessary information, I just don’t know what is relevant at this stage. I’d appreciate any help, thanks in advance!

Im not seeing where you have stated your actual problem… I am assuming you intended to say external access isn’t working, but you didnt and you’ve provided no error information or anything…

as a side note, http/https doesnt need udp, just tcp

I’ll further add that docker works well with iptables and not well with ufw.

It’s as you said, I can’t access my applications externally.

I can’t provide an error log because I don’t know where to find a log for what’s wrong.

I’m suspecting now the issue is mainly SWAG, but running the following command will insidcate everything is okay:

docker logs -f swag

I’ll try deactivating UFW and remove UTC from my port forwarding. Thanks for your help

Solved it. Turns out my ISP was blocking my ports.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.