View previous topic :: View next topic |
Author |
Message |
cartpullerjack Apprentice
Joined: 16 Nov 2003 Posts: 185
|
Posted: Fri Feb 27, 2004 7:48 pm Post subject: Port forwarding Samba and NFS |
|
|
I have a remote server that I'm running for a student organization that I work for.
It would be many times more convenient if I could mount the /pub directory via either nfs or samba on my home machine.
I'm sure that I could figure out which ports to forward just by looking through some docs. What I'm interested to know is which IP the machine "sees" accessing the NFS or Samba shares. Would it be my home machine, or would it look like localhost? Is there a way to use ssh to forward the ports so that it looks like localhost?
Also, is there a way to make NFS or Samba more secure? I understand that running either can be a security risk.... |
|
Back to top |
|
|
scout Veteran
Joined: 08 Mar 2003 Posts: 1991 Location: France, Paris en Semaine / Metz le W-E
|
Posted: Sat Feb 28, 2004 1:41 am Post subject: Re: Port forwarding Samba and NFS |
|
|
cartpullerjack wrote: | Also, is there a way to make NFS or Samba more secure? I understand that running either can be a security risk.... |
Yes, you don't use them
ok, sorry, you can use ssh or some kind of stuff that basically do the same thing: port forward in a secure way, like in zebedee, maybe stunnel also.
Instead of port forwarding the nfs through ssh, I'd rather mount an ssh filesystem
Quote: | * net-fs/shfs
Latest version available: 0.32
Latest version installed: [ Not Installed ]
Size of downloaded files: 94 kB
Homepage: http://shfs.sourceforge.net/
Description: Secure Shell File System
License: GPL-2
* sys-fs/lufs
Latest version available: 0.9.7
Latest version installed: 0.9.7
Size of downloaded files: 525 kB
Homepage: http://lufs.sourceforge.net/lufs/
Description: User-mode filesystem implementation
License: GPL-2 |
If you want something more secure than nfs, use openafs (works well with 2.4), if you want something very performant try intermezzo, i don't know if coda could suit your needs.
personnaly, I think what uses the less cpu is lufs's ftp filesystem, but it's not secure. You have to choose between security and speed. For speed: ftpfs, nfs, samba. For security: sshfs or port forwarding. _________________ http://petition.eurolinux.org/ - Petition against ePatents
L'essence de la finesse |
|
Back to top |
|
|
cartpullerjack Apprentice
Joined: 16 Nov 2003 Posts: 185
|
Posted: Sat Feb 28, 2004 1:53 am Post subject: |
|
|
how does sshfs work? is that anything like scp? |
|
Back to top |
|
|
|
|
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 vote in polls in this forum
|
|