Discussion:
Vps & cifs
Aaron Pelly
2011-08-24 08:22:00 UTC
Permalink
Howdy guys,

I'm having a bad Google day:

I want to (wisely or otherwise... alternatives appreciated...) setup a cifs
share on my vps for a couple of people to share stuff real-time. But either
the multitude of firewalls and/or nat in the way is breaking it, or it's
just impossible.

A link to a how-to would be brilliant if anyone knows one.

Cheers,
Aaron
_______________________________________________
NZLUG mailing list ***@linux.net.nz
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
Steve Holdoway
2011-08-24 09:03:08 UTC
Permalink
Post by Aaron Pelly
Howdy guys,
I want to (wisely or otherwise... alternatives appreciated...) setup a cifs
share on my vps for a couple of people to share stuff real-time. But either
the multitude of firewalls and/or nat in the way is breaking it, or it's
just impossible.
A link to a how-to would be brilliant if anyone knows one.
Cheers,
Aaron
Don't bother.

Performance of windows-based file sharing on anything with a latency
greater than 1ms is so appalling that nobody will use it. I found a 20+
times slowdown.

137, 138, 139, 445/tcp need to be open. Make sure that you limit access
as the world and their dog will be trying to connect. It may even be
simpler to use OpenVPN to connect.

I'd set sftp up and use that instead ( that'll be a 'small' challenge!
). Filezilla supports it.


Steve
--
Steve Holdoway <***@greengecko.co.nz>
http://www.greengecko.co.nz
MSN: ***@greengecko.co.nz
Skype: sholdowa


_______________________________________________
NZLUG mailing list ***@linux.net.nz
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
Aaron Pelly
2011-08-24 09:13:24 UTC
Permalink
Understood. Thanks Steve.
Post by Steve Holdoway
Post by Aaron Pelly
Howdy guys,
I want to (wisely or otherwise... alternatives appreciated...) setup a cifs
share on my vps for a couple of people to share stuff real-time. But either
the multitude of firewalls and/or nat in the way is breaking it, or it's
just impossible.
A link to a how-to would be brilliant if anyone knows one.
Cheers,
Aaron
Don't bother.
Performance of windows-based file sharing on anything with a latency
greater than 1ms is so appalling that nobody will use it. I found a 20+
times slowdown.
137, 138, 139, 445/tcp need to be open. Make sure that you limit access
as the world and their dog will be trying to connect. It may even be
simpler to use OpenVPN to connect.
I'd set sftp up and use that instead ( that'll be a 'small' challenge!
). Filezilla supports it.
Steve
--
http://www.greengecko.co.nz
Skype: sholdowa
_______________________________________________
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
_______________________________________________
NZLUG mailing list ***@linux.net.nz
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
Jim Cheetham
2011-08-24 10:10:44 UTC
Permalink
Post by Aaron Pelly
I want to (wisely or otherwise... alternatives appreciated...) setup a cifs
share on my vps for a couple of people to share stuff real-time. But either
the multitude of firewalls and/or nat in the way is breaking it, or it's
just impossible.
Use an alternative. As Steve says, ssh/sftp is a straightforward
method, but requires understanding login and file permissions at the
server end.

Today's untested random link on the topic of sharing files is
http://sparkleshare.org/ -- I'd be interested to hear from anyone
actually using it :-)

-jim

_______________________________________________
NZLUG mailing list ***@linux.net.nz
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
Bruce Kingsbury
2011-08-24 11:18:49 UTC
Permalink
From what I remember, CIFS/SMB relies on some unroutable protocols /
broadcast packets. Also I don't think it handles latency very
efficiently. It really wasn't designed for use anywhere but over a
LAN.
Post by Aaron Pelly
I want to (wisely or otherwise... alternatives appreciated...) setup a cifs
share on my vps for a couple of people to share stuff real-time. But either
the multitude of firewalls and/or nat in the way is breaking it, or it's
just impossible.
Use an alternative. As Steve says, ssh/sftp is a straightforward
method, but requires understanding login and file permissions at the
server end.
Today's untested random link on the topic of sharing files is
http://sparkleshare.org/ -- I'd be interested to hear from anyone
actually using it :-)
-jim
_______________________________________________
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
_______________________________________________
NZLUG mailing list ***@linux.net.nz
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
Clark Mills
2011-08-24 19:20:47 UTC
Permalink
This post might be inappropriate. Click to display it.
Jaco
2011-08-24 21:12:41 UTC
Permalink
Few options available; can be used on their own or in conjunction:
* VPN
* cert-based SSH tunnel
* sshfs

Connect to your server via secured VPN, set up you SSH-tunnel & mount
via sshfs or even NFS (or any TCP-based protocol you desire)

YMMV

- Jaco
Post by Aaron Pelly
Howdy guys,
I want to (wisely or otherwise... alternatives appreciated...) setup a cifs
share on my vps for a couple of people to share stuff real-time. But either
the multitude of firewalls and/or nat in the way is breaking it, or it's
just impossible.
A link to a how-to would be brilliant if anyone knows one.
Cheers,
Aaron
_______________________________________________
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
_______________________________________________
NZLUG mailing list ***@linux.net.nz
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug

Loading...