论坛风格切换切换到宽版
  • 2458阅读
  • 5回复

[问题求助][RedHat] 如何关闭Redhat 9的防火墙啊 [复制链接]

上一主题 下一主题
离线wdsguying.
 
发帖
2182
C币
-60076
威望
416
贡献值
1
银元
-4
铜钱
4927
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
因为要测试X-win32,其他步骤都做了,就差没关Redhat 9.的防火墙了,w.indows的norton我也关了,运行了命令<性病>
ipchains -A input -p udp -i $extint --dport 177. .-j DENY<性病>
却出来错误

Warning: wierd character in inte.rface `--dport'. (No aliases, :, ! or *)..
T.ry `ipchai.ns -h' or 'ipchains --help' for more information..

然后看看帮助

ipch.ains -A input -p udp -i $e.xtint --dport 177 -j DENY<性病>

ipchains 1.3..10, 1-Sep-.2000    美容

Usage: ipchains -[ADC] ch.ain rul.e-specification [options]             电子
       ipchains -[RI] chain.. rulenum rule-specification [options]              乙肝
       ipchains -D ch.ain .rulenum [options](广告)
       ipchains -[LFZNX] [c.hain] [opti.ons].
       ipcha.in.s -P chain target [options]--------------彩票
     .  ipchains -M [ -L | -S. ] [options].
       ipchains. -h [icmp] (print this help in.formation, or ICMP list).

Commands:
Either long or sh.ort options are allo.wed.           女人
. --append  -A chain     .       Append to chain.
  --delete  -D chain            Delete matching rule from. .chain             汽车
  --delete  .-D. chain rulenum(        游戏          )
                   .        .     Delete rule rulenum (1 = first) from chain           建材
  --in.sert  .-I chain [rulenum](广告)
  .            .                  Insert in chain as rulenum (default. 1=first)<性病>
  --re.place -R .chain rulenum电脑
         .                       Replace rule rulenum (1 = first) in ch.ain              乙肝
  --list    -L [chain]          List the rule.s in a chain or. all chains            杀毒
  --flush   -F [chain]          Delete all rules in  chain or .a.ll chains域名
  --ze.ro    -.Z [chain]          Zero counters in chain or all chains虚拟主机
  --check   -C chain    .        Test this packet. on chain(        游戏          )
  --new-chain
   .         -N chain.            Create a new user-defined chain外贸
  --delete-ch.ain           建材
       .     -X chain            Delete a .user-defined chain              乙肝
  --policy  -P chai..n target             汽车
                        .        Change policy on chain to targe.t.
  --masqu.erading学习
            -M -L         .      List current masqueradin.g connections域名
  --set .    -M -S tcp tcpfin udp..
        .                 .       Set masquerading timeout values(        游戏          )

Options:
  --bidi.rectional -b            insert. two rules: one with -s & -d reversed电影
  --protoco.l    -p [!] proto  .  protocol: by number or name, eg. `tcp'<性病>
  --source .     -s. [!] address[/mask] [!] [port[]]虚拟主机
                 .               source specifica.tion--- 印刷
  -.-sour.ce-port [!] [port[]]教育
             .    .               source port specification          婚庆
  -.-destination -d [!] address[/mask.] [!] [port[]]    美容
                     .        .   destination specification.
  --destination-port [!] [port.[].].
.                               destination port speci.fication.
  --icmp.-type [!] typename      sp.ecify ICMP type教育
  --interf.ace   -i [!] name[.+][成人用品]
                            .    network interface name ([+] for wi.ldcard)--- 印刷
  --jump        -j target [.port.]    美容
                              .  target for rule ([po.rt] for REDIRECT)            杀毒
  --mark   .     -m [+-]mark     number to mark on matching pack.et    美容
  --numeric  .   -n              numeric output of addres.ses and ports外贸
  --log         -l              turn on kernel lo.gg.ing for matching packets.
  --output      -o [ma.xsize]    output matching packet to netlink de.vice           鲜花
  --TOS         -t and. xor      .and/xor masks for TOS field(        游戏          )
  --verb.os.e     -v              verbose mode.
  --exact    .   -x              expand num.bers (display exact values)--- 印刷
  --line-numbers                list line number.s bes.ide each rule服务器
  --no-w.arnings         Disable all warnin.gs.
[.!] --fra.gment  -f              match second or further fragments only.
[!] --syn       -y   .           match TCP packets only wh.en SYN set           建材
[!] --vers.ion   -V              print package versi.on.           女人

没法子,帮帮忙吧

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

精彩

感动

搞笑

开心

愤怒

无聊

灌水
发帖
2155
C币
-60173
威望
418
贡献值
1
银元
0
铜钱
4869
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
Re:[RedHat]
/etc/rc.d/init.d/iptables stop

发帖
2068
C币
-604970
威望
364
贡献值
4
银元
-2
铜钱
4677
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-13
Re:[RedHat]
具体如何操作啊,麻烦老哥写全点好吗

离线asterye.
发帖
1935
C币
-199233
威望
347
贡献值
1
银元
-2
铜钱
4307
人人网人气币
0
只看该作者 地板  发表于: 2010-04-13
Re:[RedHat]
关闭方法,我写的还不够明白吗?建议你先看看iptables基础的东西

离线haikung.
发帖
1977
C币
-152724
威望
335
贡献值
1
银元
-2
铜钱
4311
人人网人气币
0
只看该作者 4楼 发表于: 2010-04-13
Re:[RedHat]
直接在gnome或者kde里面的系统控制选单的安全控制里面

离线qq273580105.
发帖
2049
C币
-235857
威望
381
贡献值
1
银元
-1
铜钱
4522
人人网人气币
0
只看该作者 5楼 发表于: 2010-04-13
Re:[RedHat]
明白了
iptables是个脚本
./iptables stop运行,OK,thx
快速回复
限100 字节
批量上传需要先选择文件,再选择上传
 
上一个 下一个