需求是redis允许特定客服端连接:
-A INPUT -s 182.xx.xx.xxx/32 -p tcp --dport 6379 -j ACCEPT
iptables允许一个ip访问本机的某个端口
原文:http://www.cnblogs.com/bass6/p/6357841.html