Nextcloud Firewall rule help
-
I have a nextcloud server that I used to be able to access from my ddns address inside my network when I was using a off the shelf router. Now that I'm using PFSense I can only access the nextcloud server from it's local IP address. This creates a problem as when I copy a link to share a file it gives the internal IP address. I'm pretty sure this is because I'm missing a rule to allow that traffic in from the WAN. My several attempts to get it to work have failed. Created an alias to the ddns host, created a run in WAN for that as the source and destination the local nextcloud server on 443. Hopefully someone can help clarify how to fix this. I'm sorry this is so basic.
-
A WAN firewall rule is needed if you want external access to your internal services, which doesn't seem to be what you are talking about.
To access local hosts via the external address I think you need to use NAT Reflection. Refer to the pfSense wiki.
-
I used Split DNS for my owncloud/nextcloud host name.
https://doc.pfsense.org/index.php/Why_can%27t_I_access_forwarded_ports_on_my_WAN_IP_from_my_LAN/OPTx_networks
-
I used Split DNS for my owncloud/nextcloud host name.
https://doc.pfsense.org/index.php/Why_can%27t_I_access_forwarded_ports_on_my_WAN_IP_from_my_LAN/OPTx_networks
The doc only shows settings for the example with DNS Forwarder is there an example that shows the setup for DNS Resolver? Or am I missing something?
-
If your NextCloud server does have a static DHCP entry then use the "Register DHCP …" checkboxes as well.
Host Override is another option with the resolver.
Not too hard to guess, is it?