Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ipchains and mountd

Status
Not open for further replies.

nozz

Programmer
Jul 18, 2003
8
0
0
GB
Hi,

i am setting up my firewall to let nfs through. I have followed intructions on
i now come to set ipchain rules. when no rules are in place I can start mountd via:

/usr/sbin/rpc.mountd -p 4002

as soon as i put into place a couple of rules as in:

-A input -s 192.168.1.0/255.255.255.0 -d 192.168.1.141/255.255.255.255 4002:4002 -i eth0 -p 6 -j ACCEPT

-A input -s 192.168.1.0/255.255.255.0 -d 192.168.1.141/255.255.255.255 4002:4002 -i eth0 -p 17 -j ACCEPT

-A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 -p 6 -j REJECT -y
-A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 -p 17 -j REJECT

I get denied :
Cannot register service: RPC: Unable to receive; errno = Connection refused

anybody know why?

cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top