• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • 恢復IpTables的默認設置(Script)

    發表于:2007-07-02來源:作者:點擊數: 標簽:
    ##!/bin/sh # # Resets the iptables to default values, in case you screw something up # while setting your rc.firewall up - as I did quite a few times;) # # Author: Oskar Andreasson # (c) of BoingWorld.com, use at your own risk, do whatever

    ##!/bin/sh
    #
    # Resets the iptables to default values, in case you screw something up
    # while setting your rc.firewall up - as I did quite a few times;)
    #
    # Author: Oskar Andreasson
    # (c) of BoingWorld.com, use at your own risk, do whatever you please with
    # it as long as you don@#t distribute this with due credits to
    # BoingWorld.com

    #
    # reset the default policies in the filter table.
    #
    /usr/local/sbin/iptables -P INPUT ACCEPT
    /usr/local/sbin/iptables -P FORWARD ACCEPT
    /usr/local/sbin/iptables -P OUTPUT ACCEPT

    #
    # reset the default policies in the nat table.
    #
    /usr/local/sbin/iptables -t nat -P PREROUTING ACCEPT
    /usr/local/sbin/iptables -t nat -P POSTROUTING ACCEPT
    /usr/local/sbin/iptables -t nat -P OUTPUT ACCEPT

    #
    # flush all the rules in the filter and nat tables.
    #
    /usr/local/sbin/iptables -F
    /usr/local/sbin/iptables -t nat -F

    #
    # erase all chains that@#s not default in filter and nat table.
    #
    /usr/local/sbin/iptables -X
    /usr/local/sbin/iptables -t nat -X

    原文轉自:http://www.kjueaiud.com

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>