It is currently Sat Nov 23, 2019 3:49 am
All times are UTC + 8 hours

ownCloud: Trying and Failing

ownCloud gives you universal access to your files through a web interface or WebDAV. It also provides a platform to easily view & sync your contacts, calendars and bookmarks across all your devices and enables basic editing right on the web. Installation has minimal server requirements, does not need special permissions and is quick. ownCloud is extendable via a simple but powerful API for applications and plugins.

Moderator: leecool

Re: ownCloud: Trying and Failing

Postby sksbir » Thu Mar 17, 2016 3:23 am

ok. If you can get a page locally, you should notice the URL used. The port used should be a part of the URL. This is the port used by owncloud, and this is the one which must be forwarded from outside to your NAS in order to get access from outside.

You need then to construct the "from the outside" URL : your public IP address ( or DNS if you have one ) + the same port you got locally.
sksbir
 
Posts: 322
Joined: Tue Aug 25, 2015 9:23 pm

Re: ownCloud: Trying and Failing

Postby MikeG.6.5 » Thu Mar 17, 2016 4:26 am

Or you can do as I suggested and we sort of talked about on the phone... Using another port from the outside going to the inside port. This gives an extra layer of protection, as most hackers scan commonly used ports, and don't go out to scan all 65K+ ports for each IP... It would take too long.

So, as per sksbir's suggestion, from the WAN on port xxxxx to the LAN on port (the same port you have for local IP's.)

This doesn't CURE or PREVENT a hacker from getting in, it just makes it harder for one to do so.
MikeG.6.5
 
Posts: 911
Joined: Fri May 15, 2015 1:56 am

Re: ownCloud: Trying and Failing

Postby Gramotey » Thu Mar 17, 2016 4:55 am

This is what I get when trying to log in off-site. And if I trust it, nothing good happens, connection drops.

cert.jpg
cert.jpg (117.75 KiB) Viewed 3856 times
Gramotey
 
Posts: 26
Joined: Tue Feb 02, 2016 11:31 pm

Re: ownCloud: Trying and Failing

Postby sksbir » Thu Mar 17, 2016 9:20 am

- did you started your web server only in https mode ?
- you must adjust config.php ( stored in /share/Web/owncloud/config from ssh terminal, or from "Web" shared folder from file explorer ) to authorize the use of the URL you use from the outside. See the "trusted_domains" keyword
. in the URL, you must have the "owncloud" keyword, eg : https://xxxxx:port/owncloud/

- In order NOT to have "owncloud" in your URL path, I recommend you to create a virtual host on a specific port , with https protocol, and with /Web/owncloud has folder name
ADM --> service --> web server --> virtual host.
You must forward this new specific port to your NAS, after that, URL becomes something like https://xxxx:yyy , with yyy = specific port.

To know more about owncloud installation : https://doc.owncloud.org/server/8.0/adm ... tents.html
sksbir
 
Posts: 322
Joined: Tue Aug 25, 2015 9:23 pm

Re: ownCloud: Trying and Failing

Postby MikeG.6.5 » Thu Mar 17, 2016 10:17 am

GODS, I'm sorry, I forgot all about having to do that step. It's been almost 2 years since I set up ownCloud, and forgot I had to edit the config.php. Good catch sksbir!

I hope everything works now, Gramotey?
MikeG.6.5
 
Posts: 911
Joined: Fri May 15, 2015 1:56 am

Re: ownCloud: Trying and Failing

Postby Gramotey » Thu Mar 17, 2016 12:45 pm

Gentlemen, thank you. Just a quick reply... I am swamped and tired. Tomorrow I'll elaborate more, but in a barebone sense, it finally works. I'll have to kill it and do from scratch now, and do it right, and then document the steps. HTTPS isn't working, too tired to try and solve now... but without your help MikeG.6.5 and sksbir, I'd not move this project at all... Thank you!
Gramotey
 
Posts: 26
Joined: Tue Feb 02, 2016 11:31 pm

Previous

Return to ownCloud

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest