Ayman Haidar wrote: > > Hello, > > I was wondering how to setup NFS behind a firewall. I am trying to > access my office linux box which is behind a DSL router from home > where I have a cable modem. > > the issue is I need to know what ports I need to open on the office > router so I can mount a folder from my linux box. > > the other thing is I want to be able to route it through ssh to make > sure things are secure. I think it's not that hard once I know the ports. > > I do have access to everything, and I run debian potato in the office, > debian sid on my laptop.
This is more or less a stab in the dark, but I *think* it uses the sunrpc ports (111). Mind you: $ lsof -i | grep nfsd rpc.nfsd 20832 root 4u IPv4 192602 UDP *:2049 rpc.nfsd 20832 root 5u IPv4 192605 TCP *:2049 (LISTEN) Tom