Hi @satello!
I’m unsure about the VPN-related particularities, but the “untrusted domain” message from Owncloud is usually easy to fix so I hope I’ll be able to help, or at least put you on the right track.
By default, Owncloud blocks access to the server from anything that isn’t localhost
(from memory) so seeing this message is perfectly normal. To add your “access point” as a trusted domain, you can follow the official documentation:
https://doc.owncloud.org/server/10.0/admin_manual/configuration/server/config_sample_php_parameters.html
The file you are looking for should be in the “config” share that you specified during the Owncloud Rock-on installation (let’s call it <oc-config>
as an example). The easiest way to access it would be via SSH (you can use Rockstor’s Shellinabox service for that, for instance). From memory, the file should be at the following location:
/mnt2/<oc-config>/config.php
Within this file, the part you need to modify is the following:
'trusted_domains' =>
array (
'demo.example.org',
'otherdomain.example.org',
),
There, you need to add yours to the array as follows (using the information you provided):
'trusted_domains' =>
array (
'demo.example.org',
'otherdomain.example.org',
'domain:8091',
),
Note that I used domain:8091
, but you may even omit the port, I believe (I can’t seem to remember exactly whether you need to specify it or not). To be safe, I would add exactly what the “untrusted domain” error message mentions.
After saving your changes to the config.php
file and restarting the Owncloud Rock-on, the “untrusted domain” message shouldn’t appear anymore.
Please note that everything I wrote was form memory so the reality may differ very slightly, but the gist of it should be correct.
Hope this helps,