iptables設定問題 - Linux

Agatha avatar
By Agatha
at 2011-07-04T17:06

Table of Contents

各位前輩好:
以下是我目前的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

--
Tags: Linux

All Comments

Noah avatar
By Noah
at 2011-07-04T18:06
先關閉iptables再測試以確認是否為iptables的問題
Freda avatar
By Freda
at 2011-07-07T05:58
1. service iptables stop
Quanna avatar
By Quanna
at 2011-07-12T03:46
2. service httpd start
3. pstree -pu | grep httpd
4. netstat -anp | grep 80
Barb Cronin avatar
By Barb Cronin
at 2011-07-16T12:04
先關防火牆 啟動httpd 查看網路開啟port
排除httpd 問題再去調整iptables
5. 把SELINUX 關閉 測試看看
Edith avatar
By Edith
at 2011-07-20T15:59
樓上二位前輩,我用Ubuntu,好像不能直接關閉iptables
Frederic avatar
By Frederic
at 2011-07-23T22:01
不能關閉就下 iptables -t filter -F
Bennie avatar
By Bennie
at 2011-07-28T02:26
查了網路,Ubuntu預設是沒有防火牆和selinux的~我裝server
Xanthe avatar
By Xanthe
at 2011-08-01T05:18
t大,這是把我下的2條規則都清了~
Elvira avatar
By Elvira
at 2011-08-02T17:54
因我是為了要測試這2條規則在input 設為drop下能否啟動web
Margaret avatar
By Margaret
at 2011-08-03T23:18
你可以先清掉,再下那兩條規則。要不然常常先被擋了
Caroline avatar
By Caroline
at 2011-08-06T14:48
對了,我很嫩 XD RHCE 年齡才一星期多一點 還是別亂回
Necoo avatar
By Necoo
at 2011-08-10T08:50
aa-status 有apache2的內容嗎?

Fedora 9無法開機

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

Fedora-9 avahi-daemon failed

Ingrid avatar
By Ingrid
at 2011-07-04T14:00
請問一下大大們 現在我的Fedora-9開機啟動 然後他開機 avahi-daemon 是failed的 就無法進入Fedora作業系統裡面 就無法開機登錄 我電腦是發生什麼問題呀? 這該如何解決 我該如何修復 謝謝 -- 噓 XYZdragon:這教官的墓上的草都長得跟你妹一樣高了03/21 ...

Samba在windows底下看不到檔案

John avatar
By John
at 2011-07-04T10:20
權限的部分我都有試過 最後我想應該是SElinux的問題 關掉SELinux就可以了… 謝謝!! ※ 引述《kevinkevinko (kevin)》之銘言: : 這應該是權限問題, : share mode 的話 : user andamp; group 應該是guest,guest : logi ...

source /etc/profile的錯誤

Lily avatar
By Lily
at 2011-07-04T02:22
※ 引述《cawae (中華職棒加油阿!!!)》之銘言: : Linux distribution:CentOS 5.2 版本 : 環境:ACER 4736G : 遭遇的問題: : 我在設定完/etc/profile之後 : 使用指令 source /etc/profile : 卻出現一堆亂碼,其中最上面隱隱 ...

請問RHEL或CentOS下有無限速程式

Caitlin avatar
By Caitlin
at 2011-07-04T00:54
如果我打算在一台RHEL或CentOS上面插兩張網路卡 跑bridge或router模式 然後限制其中一張卡的in或out頻寬 有沒有推薦的解決方案呢 thx - ...