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
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