放在哪裡每個人都有意見
沒有誰對誰錯,重要的是取得共識之後就一直把規則維持下去,不要改來改去,這點linux一直都沒有做得很好
版主: mufa
kanru 寫:你得到他了
引用還保存在我電腦的 /etc/default/iptables 中的一段:
- 代碼: 選擇全部
# Now for a short question and answer session:
#
# Q: You concocted this init.d setup, but you do not like it?
# A: I was pretty much hounded into providing it. I do not like it.
# Don't use it. Use /etc/network/interfaces, use /etc/network/*.d/
# scripts use /etc/ppp/ip-*.d/ script. Create your own custom
# init.d script -- no need to even name it iptables. Use ferm,
# ipmasq, ipmenu, guarddog, firestarter, or one of the many other
# firewall configuration tools available. Do not use the init.d
# script.
d2207197 寫:如果您是用 woody 的光碟安裝系統,那應該會有 /etc/init.d/iptables 阿
把 iptables 規則設定好(可能寫個 script 或手動慢慢打),然後 /etc/init.d/iptables save_active
在 rcconf 中把 iptables 選起來,下次開機就會套用你目前設定的規則了
wget -c http://ftp.us.debian.org/debian/pool/main/i/iptables/iptables_1.2.6a-5_i386.deb
正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客