iptables設定問題 - Linux

Hedy avatar
By Hedy
at 2011-07-04T22:51

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
═════════════════════════════════ ╯

--
Tags: Linux

All Comments

Dorothy avatar
By Dorothy
at 2011-07-08T11:29
謝謝k大熱心的解說,因為又不小心重貫了,有試成功再來回報

iptables設定問題

Agatha avatar
By Agatha
at 2011-07-04T17:06
各位前輩好: 以下是我目前的iptable設定,但不知為什麼無法開啟127.0.0.1的首頁呢? apache也有重新啟動了 謝謝各位前輩指導 Chain INPUT (policy DROP) target prot opt source destination ACCEPT ...

如何在Ubuntu 11.04上使用gcin最新版

Agnes avatar
By Agnes
at 2011-07-04T16:42
※ 引述《Holocaust123 (一步一腳印)》之銘言: : 一些關於gcin的問題: : 1. : Ubuntu 11.04預設套件庫中的gcin還是1.4.6版 : 這版本不算很新 使用上有些小問題 : 我想試試最新版的gcin(stable版是1.6.3) 看有沒有改善 : 上網找能加入套件庫的 ...

如何在Ubuntu 11.04上使用gcin最新版

Wallis avatar
By Wallis
at 2011-07-04T15:51
一些關於gcin的問題: 1. Ubuntu 11.04預設套件庫中的gcin還是1.4.6版 這版本不算很新 使用上有些小問題 我想試試最新版的gcin(stable版是1.6.3) 看有沒有改善 上網找能加入套件庫的軟體來源 但並沒找到 請問有人知道哪邊有嗎? ubuntu wiki有 ...

使用jws部屬發生錯誤

Anonymous avatar
By Anonymous
at 2011-07-04T15:39
Linux distribution:CentOS 5.2 版本 環境:ACER 4736G tomcat5.5+axis-1.4 遭遇的問題: 我嘗試使用簡單的jws方法部屬webservice 連結http://hostname:8080/axis/P_C_A.jws 卻秀出我編寫的程式碼,而不 ...

Fedora 9無法開機

Agnes avatar
By Agnes
at 2011-07-04T14:33
不好意思 請問一下 我的Fedora 9之前在灌一個卡的driver 灌一灌好像有問題 就重開機 結果一重開機 就開不了了 卡在Fedora讀取那邊 在輸入user 跟 password的前一關讀取那邊 就卡在那... 我想請問一下 發生了什麼問題 我開不了機 我有什麼辦法可以修復或進去嗎? ...