Is it possible to connect to nextcloud over lan?

Hi, no nothing is blocked…

I do this as I transfer very large files and edit video files on my server, I have 1GB for the whole house and 10gb/E from my Desktop to my server (NVME to NVME)

Ah, a VM makes much more sense (though I prefer to have my router running on its own dedicated hardware). I’m using my pfSense box as a DNS resolver, but the same feature is available both ways–you’d need to enter a host override. See https://docs.netgate.com/pfsense/en/latest/dns/unbound-dns-resolver.html or https://docs.netgate.com/pfsense/en/latest/dns/dns-forwarder.html for more information.

1 Like

I had same issue and I added local IP to Trusted Domains in Config.php

Hi, thanks for this, can I ask do you mean the ip of the desktop machine? Can I use wildcards?

here is my config.php (****** is to hide my domain) & 192.168.11.34 is my 10gb/E connection

‘trusted_domains’ =>
array (
0 => ‘192.168.0.33:444’,
1 =>‘nextcloud.*******.co.uk’,
2 =>‘192.168.11.34’,
),

I think you got it right. I think that message you get “Access forbidden
State token does not match” means something different than I originally thought.
I would try to go to phpmyadmin and in Nextcloud database check
oc_bruteforce_attempts and delete any entry with IP you trying to connect from.
Sorry I’m a noob with Linux and learning now so I wish I could help more.

2 Likes

Many Thanks, it did the trick!

I had to remove the hosts file entry @Schmu advised and edit the config.php as you advised and now working with my 10gb/E connection!

Great Stuff!

How do I do this?
i’m using nextcloud from a raspberrypi server

how did you delete the ip 's in the oc_bruteforce_attempts

Thankyou this fixed the LAN speeds for me.