Re: [tanya-jawab] Tanya: VirtualBox (tidak bisa koneksi web/mysql)

2011-09-04 Terurut Topik Arief Yudhawarman
On Sat, Sep 03, 2011 at 10:53:57AM +0800, rednux wrote:
 Dear All,,
 coba install virtualbox di winxp pakai os: CENTOS
 install sukses..bisa koneksi via SSH dari xp ke centos..TAPI gak bisa
 koneksi ke Mysql (port 3306) dan Webserver (port 80)
 mohon pencerahanx bagian mana yg belum di setting ya ? agar bisa
 buka/koneksi mysq dan membuka webserver local di centos ?
 

 Chain RH-Firewall-1-INPUT (2 references)
 target prot opt source   destination
 ACCEPT all  --  anywhere anywhere
 ACCEPT icmp --  anywhere anywhereicmp any
 ACCEPT esp  --  anywhere anywhere
 ACCEPT ah   --  anywhere anywhere
 ACCEPT udp  --  anywhere 224.0.0.251 udp dpt:mdns
 ACCEPT udp  --  anywhere anywhereudp dpt:ipp
 ACCEPT tcp  --  anywhere anywheretcp dpt:ipp
 ACCEPT all  --  anywhere anywherestate
 RELATED,ESTAB
   LISHED
 ACCEPT tcp  --  anywhere anywherestate NEW
 tcp dpt:s
   sh
 REJECT all  --  anywhere anywhere
 reject-with icmp-ho
 st-prohibited
 

Sudah jelas diblok di iptables.
Terlihat hanya ssh yg bisa masuk.
Disable saja iptables agar sevice www dan mysql bisa diakses dr luar.

-- 
Arief Yudhawarman
http://awarmanf.wordpress.com

-- 
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke tanya-jawab-unsubscr...@linux.or.id
Arsip dan info milis selengkapnya di http://linux.or.id/milis



Re: [tanya-jawab] Tanya: VirtualBox (tidak bisa koneksi web/mysql)

2011-09-04 Terurut Topik Amiruddin Utina
On Sat, Sep 3, 2011 at 10:53 AM, rednux red...@gmail.com wrote:
 Dear All,,
 coba install virtualbox di winxp pakai os: CENTOS
 install sukses..bisa koneksi via SSH dari xp ke centos..TAPI gak bisa
 koneksi ke Mysql (port 3306) dan Webserver (port 80)
 mohon pencerahanx bagian mana yg belum di setting ya ? agar bisa
 buka/koneksi mysq dan membuka webserver local di centos ?

 FYI:
 #service
 $netstat -pln |grep 3306
 tcp        0      0 0.0.0.0:3306                0.0.0.0:*
      LISTEN      2011/mysqld
 netstat -pln |grep 80
 tcp        0      0 0.0.0.0:80                  0.0.0.0:*
      LISTEN      1868/nginx.conf
 # network centos
 eth0   192.168.56.101 (BRIDGE)
 eth1 10.0.2.15 (NAT)
 #  netwotk xp
 Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.1.111
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.1.1

 Ethernet adapter VirtualBox Host-Only Network:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.56.111
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.56.101

 # IPTABLES
 Chain INPUT (policy ACCEPT)
 target     prot opt source               destination
 RH-Firewall-1-INPUT  all  --  anywhere             anywhere

 Chain FORWARD (policy ACCEPT)
 target     prot opt source               destination
 RH-Firewall-1-INPUT  all  --  anywhere             anywhere

 Chain OUTPUT (policy ACCEPT)
 target     prot opt source               destination

 Chain RH-Firewall-1-INPUT (2 references)
 target     prot opt source               destination
 ACCEPT     all  --  anywhere             anywhere
 ACCEPT     icmp --  anywhere             anywhere            icmp any
 ACCEPT     esp  --  anywhere             anywhere
 ACCEPT     ah   --  anywhere             anywhere
 ACCEPT     udp  --  anywhere             224.0.0.251         udp dpt:mdns
 ACCEPT     udp  --  anywhere             anywhere            udp dpt:ipp
 ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ipp
 ACCEPT     all  --  anywhere             anywhere            state
 RELATED,ESTAB
                              LISHED
 ACCEPT     tcp  --  anywhere             anywhere            state NEW
 tcp dpt:s
                          sh
 REJECT     all  --  anywhere             anywhere
 reject-with icmp-ho
                                    st-prohibited

 --
 FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
 Unsubscribe: kirim email ke tanya-jawab-unsubscr...@linux.or.id
 Arsip dan info milis selengkapnya di http://linux.or.id/milis



coba lepas dulu iptablesnya

Salam

-- 
./Amiruddin Utina ++3Q10

--
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke tanya-jawab-unsubscr...@linux.or.id
Arsip dan info milis selengkapnya di http://linux.or.id/milis