Changes between Version 21 and Version 22 of TipAndDoc/network/iptables


Ignore:
Timestamp:
Dec 13, 2010 5:42:04 PM (14 years ago)
Author:
mitty
Comment:

[92]

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/network/iptables

    v21 v22  
    143143 
    144144 = sample script = 
    145  * source:/trunk/iptables 
     145 * source:/trunk/TipAndDoc/iptables 
    146146 
    147147 * 注意 
     
    150150   * [#setfilter] raw,mangle,natテーブルをflushするため、ufwスクリプトと同様の注意が必要 
    151151 
    152  == ~~[source:/trunk/iptables/setnapt.sh setnapt.sh]~~ == 
     152 == ~~[source:/trunk/TipAndDoc/iptables/setnapt.sh setnapt.sh]~~ == 
    153153 * replaced to [#setmasq.sh] 
    154154 * for Ubuntu 
     
    167167   * 上の例ではWANはeth1,2ということになる 
    168168 
    169  == [source:/trunk/iptables/setfilter setfilter] == 
     169 == [source:/trunk/TipAndDoc/iptables/setfilter setfilter] == 
    170170 * for Ubuntu 
    171171 * raw, mangle nar tableを使って不要・異常なパケットを落とすポリシーを起動時自動登録 
    172172   * natテーブルをresetするため、[#setnapt.sh]と排他利用 
    173173 * /etc/init.d/setfilter start/stop 
    174  * source:/trunk/iptables/ufw と併せて使用 
     174 * source:/trunk/TipAndDoc/iptables/ufw と併せて使用 
    175175 * sudo update-rc.d setfilter start 39 S . 
    176176   * /etc/rcS.d/S39setfilter -> ../init.d/setfilter 
    177177 
    178  == [source:/trunk/iptables/setmasq.sh setmasq.sh] == 
     178 == [source:/trunk/TipAndDoc/iptables/setmasq.sh setmasq.sh] == 
    179179 *  for Ubuntu 
    180180 * WAN deviceに対してIP MASQUERADEを設定 
     
    192192}}} 
    193193 
    194  == [source:/trunk/iptables/setlan2wan.sh setlan2wan.sh] == 
     194 == [source:/trunk/TipAndDoc/iptables/setlan2wan.sh setlan2wan.sh] == 
    195195 * #4への対処をするスクリプト 
    196196 * 設定例は[#setmasq.sh]を参照 
    197197 
    198  == [source:/trunk/iptables/ufw ufw/] == 
     198 == [source:/trunk/TipAndDoc/iptables/ufw ufw/] == 
    199199 * for Ubuntu 
    200200 * /etc/ufw/*.rules に配置