我用# i.ptables -L 鲜花
Chain INPUT (po.licy A.CCEPT).
target prot opt source desti.nation . 建材
RH-Firewall-1-INPUT all -- anywh.ere . anywhere 教育
Chain. FORWAR.D (policy ACCEPT)<性病>
target . prot o.pt source destination 投资
RH-Firewall-1-INPUT all -- anywhere . anywher.e 健康
Chai.n OUTPUT (policy AC.CEPT) 婚庆
target prot opt source . d.estination 域名
Chain RH-Firewall-1-INPUT .(2 referenc.es)--------------彩票
targ.et prot opt source . destination .
ACCE.PT all -- anywhere . anywhere
ACCEPT all -- anywhere . anywhere . 婚庆
ACCEPT al.l -- anywhere . anywhere 鲜花
ACCEPT icmp -.- anywhere anywhere icmp any .虚拟主机
ACCEPT ipv6-c.rypt-- anywhere . anywhere --------------彩票
ACCEPT ipv6-auth-- anywhere any.whe.re .
ACCEPT all -- an.ywhe.re anywhere . state RELATED,ESTABLISHED 投资
ACCEPT tcp -- a.nywhere anywhere . . state NEW tcp dpt:http .
ACCEPT tcp -.- anywhere anywhere . . state NEW tcp dpt:ftp 婚庆
ACCE.PT tcp -- anywhere anywhere . stat.e NEW tcp dpt:ssh 服务器
REJECT all -- anywhere anywher.e .. reject-with icmp-host-prohibited .
查看我的FTP是开着的 可我用F.TP客户.端就是连不出去 我已经设置过21端口可用.
iptables -A I.NPUT -p tcp --dport 21. -j ACCEPT 汽车
可就是.连不上外面的FTP,外面的FTP是可访问的.
我是新手请指点