Hello,
In my main local network (xx.xx.50.0/24), I have added a second network (xx.xx.20.0/24) using OPNSense:
- WAN network: xx.xx.50.0/24 (client machines).
- LAN network: xx.xx.20.0/24 (secured servers).
In this LAN network, I have installed and configured a Nextcloud server. Everything is working fine, and the Nextcloud interface is accessible from the WAN via a NAT port forwarding rule (port 443) to the Nextcloud server’s IP in the LAN.
However, I am facing an issue with file uploads:
- Uploads from the WAN (50.0/24): The operation takes a very long time and eventually fails.
- Uploads from the LAN (20.0/24): Everything works perfectly, even for large files.
I have tried several tests and adjustments:
- Modified the
nextcloud.conf
,php.ini
, andconfig.php
files. - Allowed direct traffic between the WAN and the LAN without relying on the NAT rule.
Despite these changes, the issue persists, and the problem seems limited to file uploads from the WAN.
I kindly request your assistance in identifying the root cause of this issue and helping me resolve it.