This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
nfs [2011/11/12 14:55] k2patel [NFS Ports] |
nfs [2011/11/12 14:55] k2patel [Firewall] |
||
---|---|---|---|
Line 34: | Line 34: | ||
<code bash | /etc/sysconfig/iptables> | <code bash | /etc/sysconfig/iptables> | ||
- | -A INPUT -m state --state NEW -m tcp -p tcp --dport 2049 -j ACCEPT | + | -A INPUT -s 192.168.1.4 -m state --state NEW -m tcp -p tcp --dport 2049 -j ACCEPT |
- | -A INPUT -m state --state NEW -m tcp -p tcp --dport 111 -j ACCEPT | + | |
- | -A INPUT -m state --state NEW -m udp -p udp --dport 2049 -j ACCEPT | + | |
- | -A INPUT -m state --state NEW -m udp -p udp --dport 111 -j ACCEPT | + | |
- | -A INPUT -m state --state NEW -m tcp -p tcp --dport 59620 -j ACCEPT | + | |
- | -A INPUT -m state --state NEW -m tcp -p tcp --dport 59621 -j ACCEPT | + | |
- | -A INPUT -m state --state NEW -m tcp -p tcp --dport 59622 -j ACCEPT | + | |
- | -A INPUT -m state --state NEW -m udp -p udp --dport 59620 -j ACCEPT | + | |
- | -A INPUT -m state --state NEW -m udp -p udp --dport 59621 -j ACCEPT | + | |
- | -A INPUT -m state --state NEW -m udp -p udp --dport 59622 -j ACCEPT | + | |
</code> | </code> | ||