Is there any alternative file-server program because i want to edit my files on the server so i don't have to download all files to my computer before i can edit them. I'm using samba locally it works just like i wanted.
-
How about samba? You would have to redirect the ports. How to do that depends on your setup, and I will probably not be much of a help.– BruniMar 31, 2016 at 15:19
-
I suggest that you review askubuntu.com/questions/126850/… which covers numerous methods. Although I personally would use NFS– Elder GeekMar 31, 2016 at 15:23
-
@ElderGeek Considering (s)he already has set up a samba server, I think the problem is portforwarding and the necessary security which is not covered by the answer you linked to.– BruniMar 31, 2016 at 15:30
-
@Bruni Port Forwarding is a router configuration issue and likely would be considered outside the scope of acceptable questions here although some answers regarding that can likely be found at security.stackexchange.com/questions/tagged/port-forwarding– Elder GeekMar 31, 2016 at 15:46
-
Ive tried to portforward samba several times without success so im trying to get alternative way now. PS. I know how to forward ports.– smthngMar 31, 2016 at 15:51
2 Answers
One solution to this is the WebDav protocol, which runs over http (or preferably https). I have never had the need to set this up myself, but this video a video showing how to configure the server side on Ubuntu 10.04 looks useful... Set Up WebDAV With Apache2 On Ubuntu 14.04 Server thats on You Tube.
-
Im confused :D like so i can just install webdav and access my samba files ? :)– smthngMar 31, 2016 at 15:52
-
@smthng WebDav works like Samba but it only uses one network port so port forwarding should be a lot simpler. If you are connecting from a Windows client, then you will need some additional software to map a drive. Microsoft Office can open WebDav files without mapping a drive though. There are some suggestions for Windows clients on this page. Mar 31, 2016 at 16:14
-
So WebDav is actually the filesharing program or you USE webdav to connect samba ?– smthngMar 31, 2016 at 17:01
-
@smthng WebDav is a way of sharing files. It is like Samba, but does not require Samba at all. Apr 1, 2016 at 8:53
You can use the traditional FTP(S) - see FTPS part, SFTP, or even Apache Directory Index (example). What are your needs according to the speed, data size, etc...? Also I can imagine a torrent client on the server, with web seed, if you need massive file sharing.
Quick solution is a VPN server, if you have public IP. Combine with DynDNS service and you get what you need.
Ps. you can not avoid port opening, just in case of a torrent client, with an internet-wide accessible private/public tracker. Consider using Magnet links, open trackers, DHT!
If you need future assistance, ask in comments!