• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            isware

            How to start/stop iptables on Ubuntu

            first check if it is installed with (it probably is):
            dpkg -l | grep iptables 

            On Ubuntu, iptables is not a service. In order to stop it, you have to do the following :

            sudo iptables-save > /root/firewall.rules 

            iptables -X
            iptables -t nat -F
            iptables -t nat -X
            iptables -t mangle -F
            iptables -t mangle -X
            iptables -P INPUT ACCEPT
            iptables -P FORWARD ACCEPT
            iptables -P OUTPUT ACCEPT

            In order to restore your previous rules :

            iptables-restore < /root/firewall.rules 

            to drop more rules:
            iptables -t nat -P PREROUTING ACCEPT
            iptables -t nat -P POSTROUTING ACCEPT
            iptables -t nat -P OUTPUT ACCEPT
            iptables -t nat -F
            iptables -t nat -X
            iptables -t mangle -P PREROUTING ACCEPT
            iptables -t mangle -P INPUT ACCEPT
            iptables -t mangle -P FORWARD ACCEPT
            iptables -t mangle -P OUTPUT ACCEPT
            iptables -t mangle -P POSTROUTING ACCEPT
            iptables -t mangle -F
            iptables -t mangle -X
            iptables -t filter -P INPUT ACCEPT
            iptables -t filter -P FORWARD ACCEPT
            iptables -t filter -P OUTPUT ACCEPT
            iptables -t filter -F
            iptables -t filter -X

            posted on 2011-06-01 15:51 艾斯維亞 閱讀(545) 評論(0)  編輯 收藏 引用

            久久久女人与动物群交毛片| 久久青青草原国产精品免费| 久久99精品国产麻豆蜜芽| 久久久久国产亚洲AV麻豆| 久久综合九色综合久99| 久久精品国产黑森林| 热99RE久久精品这里都是精品免费 | 噜噜噜色噜噜噜久久| 国产精品青草久久久久福利99| 久久天堂AV综合合色蜜桃网| 久久精品免费全国观看国产| 国产精品成人精品久久久| 国内精品伊人久久久久影院对白| 国产精品久久久久a影院| 久久无码一区二区三区少妇| 免费久久人人爽人人爽av| 久久久SS麻豆欧美国产日韩| 精品综合久久久久久97超人 | 国产福利电影一区二区三区久久久久成人精品综合 | 2021国产精品午夜久久| 久久九九亚洲精品| 少妇久久久久久被弄到高潮| 久久综合狠狠综合久久97色| 久久精品成人欧美大片| 狠狠色丁香久久婷婷综合蜜芽五月| 久久毛片免费看一区二区三区| 色妞色综合久久夜夜| 久久99精品久久久久久水蜜桃| 亚洲色欲久久久综合网| 少妇被又大又粗又爽毛片久久黑人| 亚洲一本综合久久| 午夜精品久久影院蜜桃| 亚洲精品乱码久久久久久自慰| 亚洲国产精品久久久天堂| 久久天天躁狠狠躁夜夜96流白浆| 久久久久亚洲精品中文字幕 | 色诱久久av| 久久精品成人免费看| 国产午夜精品久久久久免费视| 久久综合伊人77777麻豆| 久久AV高潮AV无码AV|