<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    posts - 88, comments - 3, trackbacks - 0, articles - 0
      BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

    iptables rules

    Posted on 2012-02-27 10:41 Milo的海域 閱讀(229) 評(píng)論(0)  編輯  收藏 所屬分類: Linux
    Disable/Enable PORT
    #disable port 29600
    iptables -I INPUT -p tcp --dport 
    29600 -j DROP
    iptables -I OUTPUT -p tcp --dport 
    29600 -j DROP

    #enable port 29600 after disabled
    iptables -D INPUT -p tcp --dport 29600 -j DROP
    iptables -D OUTPUT -p tcp --dport 
    29600 -j DROP

    Block Ipaddress
    # Block comming packets of ipaddress, then all packets come from this address will be dropped
    iptables -A INPUT -s 192.168.1.5 -j DROP

    # Block outgoing packets of ipaddress, then all packets sent to that address will be dropped
    iptables -A OUTPUT -p tcp -d 192.168.1.2  -j DROP

    Disable NIC traffic
    # disable
    iptables -A INPUT -jDROP -i eth1
    iptables -A OUTPUT -jDROP -o eth1

    # enable back
    iptables -D INPUT -jDROP -i eth1
    iptables -D OUTPUT -jDROP -o eth1

    links
    http://wiki.centos.org/HowTos/Network/IPTables
    http://www.thegeekstuff.com/2011/06/iptables-rules-examples/
    主站蜘蛛池模板: 亚洲国产一成久久精品国产成人综合 | 亚洲精品无码成人片在线观看| 亚洲综合婷婷久久| 久久国产乱子精品免费女 | 久久青草免费91线频观看不卡 | 中文字幕在线观看亚洲| 成人黄网站片免费视频| 亚洲无码在线播放| 光棍天堂免费手机观看在线观看| 色久悠悠婷婷综合在线亚洲| WWW免费视频在线观看播放| 久99精品视频在线观看婷亚洲片国产一区一级在线 | 永久免费bbbbbb视频| 亚洲偷自精品三十六区| 免费在线观看的网站| 亚洲国产精品嫩草影院| 国产真实伦在线视频免费观看| 国产精品亚洲av色欲三区| 免费在线观看理论片| 精品久久久久久无码免费| 亚洲国产精品无码专区影院 | 国产成人AV免费观看| 色播亚洲视频在线观看| 亚洲黄色片免费看| 亚洲AV无码一区二区三区牛牛| 97在线观免费视频观看| 男性gay黄免费网站| 亚洲精品无码MV在线观看 | 麻豆亚洲AV成人无码久久精品 | 精品无码一区二区三区亚洲桃色| 999久久久免费精品播放| 亚洲天堂免费在线| 免费很黄很色裸乳在线观看| 国产无遮挡又黄又爽免费网站| 亚洲伦理一区二区| 成人免费无码大片A毛片抽搐| 国产精品亚洲精品日韩电影| 亚洲精品亚洲人成在线观看| 在线成人精品国产区免费| 亚洲色欲久久久综合网东京热| 一个人免费视频在线观看www|