Nextcloud and squid

Hello everyone
i have a NethServer 7.8.2003,
gateway,samba,nextcloud and squid+content filter.
When i try to open nextcloud from internet all is ok, when i try to open the same url from lan, i got squid error 111, connection refused.
I already tried to exclude the domain name in content filter and and proxy filtering but no luck.
On the same name i can open cockpit, RoadWarrior, from lan and from internet without problem.
Anyone can help me?
Thank you.

@sarz4fun

Hello Andrea

Welcome to the NethServer community!

Is your NethServer configured using a custom domain name, or is it accessible under the name (fqdn) of Nethserver?

My 2 cents
Andy

Hello,
I have a custom domain name, with DNS to public ip of the server. Server has different fqdn, only for internal use.
Nextcloud is configured only adding the domain name to the trusted domain page.

@sarz4fun

Does it work if you remove the custom name for nextcloud? (Just for testing / pinpointing the error)…

Very strange. I added again, the domain name to the proxy bypass list, now, the domain does not respond from browser. I Need to investigate…

After investigation, Problem solved. it was not a nethserver related problem.
Enabling DMZ on my router was not enough . I Forwarded to the same DMZ IP the ports 80 and 443 and now i can reach nextcloud without any issue from lan with public domain name.

1 Like