>-----Original Message-----
>From: Iris [mailto:[EMAIL PROTECTED]
>Sent: Sunday, November 16, 2003 1:37 AM
>To: [EMAIL PROTECTED]
>Subject: [plug] NFS Ports
>
>
>Dear Plug group,
>
>I'm running NFS in my two redhat... one NFS server and one NFS client.
>
>my problem is, what port should i open or allow in my firewall to allow
>NFS to work properly... I have iptables installed in both NFS 
>server and
>client with "drop" all rules.
>
>i already allow 2049 but still didn't work
>
>
>Thanks in Advance,
>Iris

rpc.mount uses varying ports for nfs exports/nfs mounts.

u can try this:

for rpcport in $PORTS
do
/usr/sbin/iptables -A input -s 0/0 -d 0/0 $rpcport -j ACCEPT -p tcp -i eth0
/usr/sbin/iptables -A input -s 0/0 -d 0/0 $rpcport -j ACCEPT -p udp -i eth0
done


hth.
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to