阿里云nat mysql配置

# Generated by iptables-save v1.4.21 on Mon Nov  ::
*filter
:INPUT DROP [:]
:FORWARD ACCEPT [:]
:OUTPUT ACCEPT [:]
#-A INPUT -t tcp -m tcp --dport -m state --state NEW -j ACCEPT
#-A INPUT -p tcp --dport -m state --state NEW -j ACCEPT
-A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport -j ACCEPT
-A FORWARD -d 10.b.b.b -p tcp --dport -j ACCEPT
#-A FORWARD -d 10.A.A.A -p tcp --dport -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i lo -j ACCEPT
COMMIT *nat
:PREROUTING ACCEPT [:]
:POSTROUTING ACCEPT [:]
:OUTPUT ACCEPT [:]
-A POSTROUTING -d 10.A.A.A/255.255.255.255 -o eth0 -j MASQUERADE
-A PREROUTING -d 10.b.b.b -p tcp --dport -j DNAT --to 10.A.A.A:
COMMIT # Completed on Mon Nov ::
上一篇:react + iscroll5 实现完美 下拉刷新,上拉加载


下一篇:hive上传数据到oracle