freeNAS - ownCloud not accessible off lan

  • Thread starter Thread starter layoric
  • Start date Start date
L

layoric

Guest
I installed my own freeNAS with ownCloud plugin. I can connect via local LAN and external IP/ddns from the PC. Connecting via my iPhone is a different story. It cannot connect off the local LAN. The ownCloud app only connects via the local IP.

Obviously port forwarding is working, so is this a certificate issue? I ask since going to the site always brings up the 'would you like to trust this' warning page. Adding it by clicking the button/link on the bottom brings up the login page only on my local LAN. I've never done a certificate and can't find the config.php file the warning page speaks of.

Can anyone assist me with this? I've been up all night, looking everywhere for a fix --Thanks --
 
I don't use owncloud, but I have done a bit of networking with troubleshooting port forwards and firewalls.

  1. Go to http://www.canyouseeme.org/ and make sure the port is open (in the router). LAN connections won't go through the router.
  2. What is the exact make and model of the router.
  3. It is possible to have correct port forwarding, but have the firewall still blocking the port. Have you configured the firewall to allow the port through?
 
The config.php file is found in config/config.php (in a subdirectory of the OwnCloud installation folder). Your list of trusted domains that users can log into. Specifying trusted domains prevents host header poisoning. Do not remove this, as it performs necessary security checks. Inside that file you should list all of your trusted (server) domains:

'trusted_domains' =>
array (
0 => 'mysite.dyndns.org',
1 => 'mysite.homeip.net',
2 => 'www.example2.com',
),
In my config.php file, I have four domains listed as there are four URLs that point to my installation.
 
Last edited:
The config.php file is found in config/config.php (in a subdirectory of the OwnCloud installation folder). Your list of trusted domains that users can log into. Specifying trusted domains prevents host header poisoning. Do not remove this, as it performs necessary security checks. Inside that file you should list all of your trusted (server) domains:

'trusted_domains' =>
array (
0 => 'mysite.dyndns.org',
1 => 'mysite.homeip.net',
2 => 'www.example2.com',
),
In my config.php file, I have four domains listed as there are four URLs that point to my installation.
That's actually not where it is on this install.
 
I gave up an went a different route, and installed a VPN. Now I can access everything. It turns out it is actually a permissions issue within ownCloud plugin, so instead of messing with that any longer, VPN seemed the best and easier method. Bonus: added security.
 
  • Like
Reactions: CLC
Back
Top