[rhn-users] NFS Forward question

RHN-Users Readers role.rhn-users at axoria.net
Mon Mar 1 14:17:16 UTC 2004


On Mon, 2004-03-01 at 14:00, Lance Raymond wrote:

> Home network is a redhat 7.3 machine, 2 nic's.  One out to ISP, other
> to internal network.  That box is using IPtables, and MASQ.  On the
> internal network I have a machine that I would like to mount a drive
> from outside on the public network.  I can forward HTTP and FTP with
> no problem to see that box, but I am not sure on NFS.   I see 2049 in
> /etc/services, but is there anything else I need to forward?
> 
> I get rpc.mountd: getfh failed: Operation not Permitted in the log
> file on the gateway machine.

I believe NFS uses RPC, and that relies on the portmapper at port 111,
from memory. So maybe that's it. I may have missed something else too as
I've not actually tried setting it up myself (yet) but the above is a
pointer for you.

You're doing this forwarding through a secure tunnel using ssh, aren't
you? If not, then _very_ scary because all your internal stuff is much
more visible than you'd want it to be! If you're not already using ssh
to forward through a secure tunnel, then check out ssh port-forwarding
and use that. For definite :)

Hope this helps.


-- 
Best regards,
James.

(Axoria Ltd, UK.)
http://www.axoria.net/





More information about the rhn-users mailing list