1,Iptables 表(Tables),链(Chains)
Table: mangle,Table: filter,Table: nat
Table 下 Chain: PREROUTING,INPUT,FORWARD,OUTPUT,POSTROUTING,filter,DOCKER
chain/target/match
2,放行本地回环地址
3,清除Iptables默认规则
3,允许以建立的或相关联的通行
cmd options help
4,允许所有本机向外访问
5,放行,拒绝指定端口,以--line-numbers查看Iptables规则号,删除指定号规则
Ruiy Tip Iptables总结,
实战
Mysql乱码不再困惑
bind-address = 192.168.1.109
default-storage-engine = innodb
innodb_file_per_table
collation-server = utf8_general_ci
init-connect = ‘SET NAMES utf8‘
character-set-server = utf8
原文:http://www.cnblogs.com/ruiy/p/4004755.html