iptables設定問題 - Linux

By Hedy
at 2011-07-04T22:51
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
╰══════════════════════════════════ ╯
--
: 各位前輩好:
: 以下是我目前的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

By Dorothy
at 2011-07-08T11:29
at 2011-07-08T11:29
Related Posts
iptables設定問題

By Agatha
at 2011-07-04T17:06
at 2011-07-04T17:06
如何在Ubuntu 11.04上使用gcin最新版

By Agnes
at 2011-07-04T16:42
at 2011-07-04T16:42
如何在Ubuntu 11.04上使用gcin最新版

By Wallis
at 2011-07-04T15:51
at 2011-07-04T15:51
使用jws部屬發生錯誤

By Anonymous
at 2011-07-04T15:39
at 2011-07-04T15:39
Fedora 9無法開機

By Agnes
at 2011-07-04T14:33
at 2011-07-04T14:33