友站互動區 > KaLUG 討論版

Debian: iptables 設定

(1/1)

被騎上班的老:
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

導覽

[0] 文章列表

前往完整版本