opensuse iptables - Linux

Oscar avatar
By Oscar
at 2012-04-13T20:37

Table of Contents

小弟系統目前是opensuse 11.3

已將iptables 匯出到 /etc/sysconfig/iptables
iptables-save >/etc/sysconfig/iptables


透過以下指令也可以啟動這個自訂的rule
iptables-restore /etc/sysconfig/iptables

問題1. 我的suse 沒有service iptables start 這個功能,請問要如何安裝?
問題2. 上述自訂的rule,reboot後不會autorun,就算寫在/etc/rc.d/boot.local裡也不行

麻煩各位高手,能否幫我解答..感謝感謝

--
Tags: Linux

All Comments

Belly avatar
By Belly
at 2012-04-17T04:17
我的作法是把iptables.rule改成744,放在/etc/rc.local中
Queena avatar
By Queena
at 2012-04-17T21:33
g大,但這樣能直接在不重啟系統的狀態下進行修改rule 跟啟用?
Andrew avatar
By Andrew
at 2012-04-18T08:00
可以,只要執行iptables.rule這個檔案即可
Xanthe avatar
By Xanthe
at 2012-04-18T17:04
只要檔案開頭有iptables -F, iptables -X, iptables -Z即可

如何指定網頁的編碼?

Sarah avatar
By Sarah
at 2012-04-12T17:30
網頁 html 部分的編碼可以利用, andlt;meta http-equiv=and#34;Content-Typeand#34; content=and#34;text/html; charset=utf-8and#34;andgt; 這種語法, Client 端就會以該種編碼讀取。 (當然你必須 ...

如何指定網頁的編碼?

Madame avatar
By Madame
at 2012-04-12T16:31
最近在架設mail server 用了很多附加套件 但是有一個問題 像是我用mailscanner-mrtg 編碼必須是big5 否則會有亂碼的問題產生 但是使用mailwatch則必須使用utf-8 否則也會亂碼 所以想問問看 有沒有辦法在伺服器上指定某個網頁的編碼咧? - ...

ubuntu11.10安裝ceph0.45

Donna avatar
By Donna
at 2012-04-12T15:07
不好意思想請問一下,最近試著想架看看ceph這儲存系統來用看看 指令and#34;apt-get install cephand#34; 安裝的是ceph 0.24  但是想使用source自己編譯安裝0.45的新版本 and#34;./configure --prefix=/opt/ceph/and ...

灌完Ubuntu-10.04-x64後出現的畫面

Sierra Rose avatar
By Sierra Rose
at 2012-04-12T02:38
http://ppt.cc/K90- http://ppt.cc/0wF3 http://ppt.cc/8y7Y 以上三張圖是我灌完Ubuntu-10.04-x64開機時出現的畫面 這畫面停很久 沒辦法進入登入的畫面 後來我重灌4 5次都醬子 但我在同樣的主機上灌win 7-ent-x64就很ok 不 ...

大型cluster的useradd與ssh?

Caitlin avatar
By Caitlin
at 2012-04-11T22:57
※ 引述《profya (~$◇$~)》之銘言: : 各位好, 我最近要在實驗室的計算cluster上開個新的帳號 : 首先是先用su -變成root, 並使用useradd username開新的帳號 : 開設後passwd新user的密碼 : 當使用新的user登入之後發現這個user只存在於master ...