ruger 发表于 2007-7-26 12:45:42

FC6,怎样让Iptables允许NFS服务

我在iptbales 中允许了NFS服务(),又打开了portmap的111端口,可是mount的时候还是会说mount: RPC: Unable to receive; errno = No route to host,

我的itables是这样的:
# iptables -L
Chain INPUT (policy ACCEPT)
target   prot opt source               destination
RH-Firewall-1-INPUTall--anywhere             anywhere
ACCEPT   tcp--anywhere             anywhere            tcp dpt:sunrpc
ACCEPT   udp--anywhere             anywhere            udp dpt:sunrpc

Chain FORWARD (policy ACCEPT)
target   prot opt source               destination
RH-Firewall-1-INPUTall--anywhere             anywhere

Chain OUTPUT (policy ACCEPT)
target   prot opt source               destination

Chain RH-Firewall-1-INPUT (2 references)
target   prot opt source               destination
ACCEPT   all--anywhere             anywhere
ACCEPT   icmp --anywhere             anywhere            icmp any
ACCEPT   esp--anywhere             anywhere
ACCEPT   ah   --anywhere             anywhere
ACCEPT   udp--anywhere             224.0.0.251         udp dpt:mdns
ACCEPT   udp--anywhere             anywhere            udp dpt:ipp
ACCEPT   tcp--anywhere             anywhere            tcp dpt:ipp
ACCEPT   all--anywhere             anywhere            state RELATED,ESTABLISHED
ACCEPT   tcp--anywhere             anywhere            state NEW tcp dpt:ftp
ACCEPT   tcp--anywhere             anywhere            state NEW tcp dpt:nfs
ACCEPT   tcp--anywhere             anywhere            state NEW tcp dpt:ssh
ACCEPT   tcp--anywhere             anywhere            state NEW tcp dpt:https
REJECT   all--anywhere             anywhere            reject-with icmp-host-prohibited
页: [1]
查看完整版本: FC6,怎样让Iptables允许NFS服务