作者 主題: Debian: iptables 設定  (閱讀 9313 次)

0 會員 與 1 訪客 正在閱讀本文。

被騎上班的老

  • 區域板主
  • 活潑的大學生
  • *****
  • 文章數: 360
    • 檢視個人資料
Debian: iptables 設定
« 於: 2010-02-12 16:36 »
per

http://nixcraft.com/linux-software/953-iptables-under-debian.html

Type the following commands:

代碼: [選擇]
iptables-save > /root/dsl.fw
Load iptables rules


代碼: [選擇]
vi /etc/network/interfaces
Append following line to eth0


代碼: [選擇]
post-up iptables-restore < /root/dsl.fw
Save the file. Reboot the system
__________________
Vivek Gite
Linux Evangelist