论坛风格切换切换到宽版
  • 615阅读
  • 0回复

[问题求助]rh9 as3中关于iptables对端口的设置问题 [复制链接]

上一主题 下一主题
离线xilao.
 
发帖
2021
C币
-199155
威望
371
贡献值
1
银元
-2
铜钱
4436
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
我用# 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是可访问的.
我是新手请指点

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
快速回复
限100 字节
批量上传需要先选择文件,再选择上传
 
上一个 下一个