Hello Friends,
I'm struggling to get external (WAN) access to jails like NextCloud or Sonarr. Before you reach for that reply button to write a treatise on why exposing jails directly to the internet is terrible practice, I'm aware and understand that. This isn't the long term plan. I'll put it all behind Nginx/HAProxy or a VPN. But, I can't seem to do a basic port forward to the jails which which makes me think something is wrong. I'd like to see the port forward work for testing purposes before I get started learning how to configure a reverse proxy.
I'm on OPNSense 21.1.2. Let's Encrypt is grabbing a cert for my public IP which is being updated via a DuckDNS FQDN. The Nextcloud jail is currently being assigned a static IP by OPNSense but I've also tried several variations of assigning an IP statically and using NAT with port forwarding in the network settings. I've port forwarded HTTP/HTTPS as well as custom ports to the nextcloud jail without any luck. I can reach the Nextcloud install locally but I can't see it from outside the network. I've also tried port forwarding to a Sonarr jail that is accessible internally but I also can't reach it from the WAN.
I'm wondering if anyone has experience port forwarding to NextCloud (or any jail) from a OPNSense box? What other information do I need to include for this to be a useful question? Perhaps this is a OPNSense issue and not a problem with TrueNAS.
Thanks in advance for any help.
I'm struggling to get external (WAN) access to jails like NextCloud or Sonarr. Before you reach for that reply button to write a treatise on why exposing jails directly to the internet is terrible practice, I'm aware and understand that. This isn't the long term plan. I'll put it all behind Nginx/HAProxy or a VPN. But, I can't seem to do a basic port forward to the jails which which makes me think something is wrong. I'd like to see the port forward work for testing purposes before I get started learning how to configure a reverse proxy.
I'm on OPNSense 21.1.2. Let's Encrypt is grabbing a cert for my public IP which is being updated via a DuckDNS FQDN. The Nextcloud jail is currently being assigned a static IP by OPNSense but I've also tried several variations of assigning an IP statically and using NAT with port forwarding in the network settings. I've port forwarded HTTP/HTTPS as well as custom ports to the nextcloud jail without any luck. I can reach the Nextcloud install locally but I can't see it from outside the network. I've also tried port forwarding to a Sonarr jail that is accessible internally but I also can't reach it from the WAN.
I'm wondering if anyone has experience port forwarding to NextCloud (or any jail) from a OPNSense box? What other information do I need to include for this to be a useful question? Perhaps this is a OPNSense issue and not a problem with TrueNAS.
Thanks in advance for any help.