public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] [OT] NFS through a firewall
@ 2008-04-11 13:49 Roger Mason
  2008-04-11 14:38 ` Greg Bowser
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Roger Mason @ 2008-04-11 13:49 UTC (permalink / raw
  To: gentoo-user

Hello,

I'm trying to configure the firewall on a client to allow that client
to mount an nfs directory.  The client runs a netfilter firewall, the
server uses tcpwrapper.

rpcinfo -p on the server shows:

beryl rmason # rpcinfo -p
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  32765  status
    100024    1   tcp  32765  status
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100021    1   udp   4001  nlockmgr
    100021    3   udp   4001  nlockmgr
    100021    4   udp   4001  nlockmgr
    100021    1   tcp   4001  nlockmgr
    100021    3   tcp   4001  nlockmgr
    100021    4   tcp   4001  nlockmgr
    100005    1   udp  32767  mountd
    100005    1   tcp  32767  mountd
    100005    2   udp  32767  mountd
    100005    2   tcp  32767  mountd
    100005    3   udp  32767  mountd
    100005    3   tcp  32767  mountd

When I try to mount the exported directory when the firewall is
running I get a timeout:

minnie ~ $ mount -v Help/
mount: trying 134.153.37.5 prog 100003 vers 3 prot tcp port 2049
mount: trying 134.153.37.5 prog 100005 vers 3 prot udp port 32767
mount: mount to NFS server 'beryl.esd.mun.ca' failed: timed out
(retrying).

If I drop the client firewall the mount succeeds.

Can someone help me figure out what must be put in my iptables script
to get this to work?

Thanks,
Roger
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-04-28 12:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-11 13:49 [gentoo-user] [OT] NFS through a firewall Roger Mason
2008-04-11 14:38 ` Greg Bowser
2008-04-11 14:48 ` Etaoin Shrdlu
2008-04-28 10:49   ` Enrico Weigelt
2008-04-28 12:14     ` Roger Mason
2008-04-11 22:26 ` Hamie
2008-04-14 12:54   ` Roger Mason
2008-04-12  1:08 ` Dan Farrell
2008-04-14 12:52   ` Roger Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox