CentOS 6.6 的 firewall 設定工具 - Linux

By Lauren
at 2015-01-02T09:48
at 2015-01-02T09:48
Table of Contents
最近在管理 CentOS 6.6 的 server 遇到一個問題。
當我使用 system-config-firewall-tui 來設定防火牆開放某些 port 的時候,
它會連續要求設定兩組 port ,以下是重現問題的步驟:
1. 以 root 身分執行 system-config-firewall-tui
2. 選「自訂」 > 「下一步」,來到「其他通訊埠」的設定畫面
3. 在這裡不論是選「新增」或「編輯」,填完欄位按「確定」之後畫面都沒有馬上
回到「其他通訊埠」,而是要求繼續輸入下一組 port 。
如果在「其他通訊埠」選「移除」的話就要小心了,它會移除你選到的 port
以及該 port 的上面一組 port ,如果沒注意到這個現象就存檔離開的話,
某個應該要正常提供服務的 port 就被 iptables 擋住了。
我試了好幾台裝了 CentOS 6.6 的機器都是這樣,應該不是個案。
有人知道該怎麼解決嗎?
--
當我使用 system-config-firewall-tui 來設定防火牆開放某些 port 的時候,
它會連續要求設定兩組 port ,以下是重現問題的步驟:
1. 以 root 身分執行 system-config-firewall-tui
2. 選「自訂」 > 「下一步」,來到「其他通訊埠」的設定畫面
3. 在這裡不論是選「新增」或「編輯」,填完欄位按「確定」之後畫面都沒有馬上
回到「其他通訊埠」,而是要求繼續輸入下一組 port 。
如果在「其他通訊埠」選「移除」的話就要小心了,它會移除你選到的 port
以及該 port 的上面一組 port ,如果沒注意到這個現象就存檔離開的話,
某個應該要正常提供服務的 port 就被 iptables 擋住了。
我試了好幾台裝了 CentOS 6.6 的機器都是這樣,應該不是個案。
有人知道該怎麼解決嗎?
--
Tags:
Linux
All Comments

By Jessica
at 2015-01-03T17:32
at 2015-01-03T17:32

By Eartha
at 2015-01-05T13:30
at 2015-01-05T13:30

By Belly
at 2015-01-06T14:52
at 2015-01-06T14:52

By Jacky
at 2015-01-09T19:19
at 2015-01-09T19:19

By Steve
at 2015-01-14T07:50
at 2015-01-14T07:50

By Rosalind
at 2015-01-14T23:37
at 2015-01-14T23:37

By Queena
at 2015-01-19T23:06
at 2015-01-19T23:06

By Christine
at 2015-01-23T15:21
at 2015-01-23T15:21
Related Posts
Chromebook透過crouton整合套件下跑Linux

By Zanna
at 2015-01-01T13:10
at 2015-01-01T13:10
github 上傳問題

By Victoria
at 2015-01-01T00:16
at 2015-01-01T00:16
Chromebook透過crouton整合套件下跑Linux

By Ethan
at 2014-12-31T11:44
at 2014-12-31T11:44
關於Port Forwarding 安全性?

By Bethany
at 2014-12-31T01:13
at 2014-12-31T01:13
關於Port Forwarding 安全性?

By Linda
at 2014-12-30T23:21
at 2014-12-30T23:21