Re: [問題] iptables設定問題
※ 引述《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
╰══════════════════════════════════ ╯
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.224.135.16
推
07/05 18:40, , 1F
07/05 18:40, 1F
討論串 (同標題文章)
Linux 近期熱門文章
21
56
PTT數位生活區 即時熱門文章