iarmin

allow NFS server in iptables

Jun 8th, 2011
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.14 KB | None | 0 0
  1. # allow NFS server in iptables
  2.  
  3. rpcinfo -p | awk '{print "iptables -A INPUT -p "$3" --dport "$4" -j ACCEPT"}' | sort | uniq >> iptables.sh
Advertisement
Add Comment
Please, Sign In to add comment