iptables設定問題 - Linux

Table of Contents

※ 引述《stator (別急著吃棉花糖)》之銘言:
: 各位前輩好:
: 以下是我目前的iptable設定,但不知為什麼無法開啟127.0.0.1的首頁呢?
: apache也有重新啟動了
: 謝謝各位前輩指導
: Chain INPUT (policy DROP)
: target prot opt source destination
: ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
: ACCEPT tcp -- anywhere anywhere tcp dpt:www
: Chain FORWARD (policy ACCEPT)
: target prot opt source destination
: Chain OUTPUT (policy ACCEPT)
: target prot opt source destination

從推文裡看到您使用的是ubuntu

那麼ubuntu裡面有兩個防火牆機制要關

apparmor ufw你都要想辦法關掉或移除了

再來試試看

試的方法大致推文有提到

一關了apparmor ufw

二restart apache2

三try and browse it

--
這篇文章讓你覺得?════════════════════════
by ycat y
+ . .ˇ ˇ ˇˇ || c
﹀ ̄▽ ̄ ﹏≦b ︶ ̄y – ̄ a
新奇 溫馨 誇張 難過 實用 高興 無聊 生氣 t
═════════════════════════════════ ╯

--

All Comments

Dorothy avatarDorothy2011-07-08
謝謝k大熱心的解說,因為又不小心重貫了,有試成功再來回報