酷!學園

友站互動區 => KaLUG 討論版 => 主題作者是: 被騎上班的老 於 2010-02-12 16:36

主題: 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