VMware Communities
foxybanjo
Contributor
Contributor
Jump to solution

openSuse 11.2 as guest - it connects to the outside, nothing can connect to it

Help. I did a short search and didn't see anything on this so am starting this thread. I have XP sp3 as the host (32 bit) and openSuse 11.2 64 bit as guest. 7.0 Vmware. So, I did a default install of openSuse 11.2 as a guest, it installed fine. I set it to bridged network. As a default it seems to have installed dhcp, that's fine. So, the guest linux system can connect out to other resources on my local network and also the internet, so it appears the networking is setup fine. Also, I can ping the guest linux system from both the host and all other machines on my network.

HOWEVER, I'm trying to run apache or glassfish in my linux system. I know they are running correctly because I can start them and then open and connect to these via the firefox browser in the guest os. However, NO other machines on my local network can in any way (other then ping) connect to the linux guest system. No matter what port or ulr I use. If I didn't know better I'd swear there is a firewall installed and operating as a default in the linux guest. However, from what I gather from others who have done the same deafult 11.2 openSuse install tell me, thats ridiculous - there is no default firewall installed with openSuse, so that can't be it. So I have no clue. I have used several other windows guest os and they all work fine and can be access by other systems on the network (assuming I set them up as bridged). So I really don't think it is inherent in vmware to change a setting, but perhaps there is some special set of hoops you have to jump thru to get a linux system to work properly in a vmware guest.

ANY ideas? I'm at a loss and unfortunately am not at all a linux expert.

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
athlon_crazy
Virtuoso
Virtuoso
Jump to solution

I think the guest firewall is turn on. Try stop it and then try connect from other client. $/etc/init.d/SuSEfirewall2 stop or find the firewall script inside /etc/init.d

vcbMC-1.0.6 Beta

vcbMC-1.0.7 Lite

http://www.no-x.org

View solution in original post

0 Kudos
10 Replies
DSTAVERT
Immortal
Immortal
Jump to solution

Try service iptables stop from the command line on the openSuse VM and then check.

-- David -- VMware Communities Moderator
foxybanjo
Contributor
Contributor
Jump to solution

Thanks for the reply. However, it tells me this (after I do an su root and then execute it):

service: no such service iptables

Tony

0 Kudos
athlon_crazy
Virtuoso
Virtuoso
Jump to solution

do you get some out put after run below command ?

$iptables -nv -L INPUT

vcbMC-1.0.6 Beta

vcbMC-1.0.7 Lite

http://www.no-x.org
0 Kudos
foxybanjo
Contributor
Contributor
Jump to solution

I get this:

linux-o2o5:/home/tfox/NRM/scripts # iptables -nv -L INPUT

Chain INPUT (policy DROP 0 packets, 0 bytes)

pkts bytes target prot opt in out source destination

2670 251K ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0

99 44374 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state ESTABLISHED

0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED

798 98353 input_ext all -- eth0 * 0.0.0.0/0 0.0.0.0/0

0 0 input_ext all -- * * 0.0.0.0/0 0.0.0.0/0

0 0 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 limit: avg 3/min burst 5 LOG flags 6 level 4 prefix `SFW2-IN-ILL-TARGET '

0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0

linux-o2o5:/home/tfox/NRM/scripts #

0 Kudos
foxybanjo
Contributor
Contributor
Jump to solution

Also, here is what I get when I do ifconfig:

linux-o2o5:/home/tfox/NRM/scripts # ifconfig

eth0 Link encap:Ethernet HWaddr 00:0C:29:B1:40:BB

inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0

inet6 addr: fe80::20c:29ff:feb1:40bb/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:4654 errors:0 dropped:0 overruns:0 frame:0

TX packets:1632 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:1745231 (1.6 Mb) TX bytes:241578 (235.9 Kb)

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:23056 errors:0 dropped:0 overruns:0 frame:0

TX packets:23056 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:2993192 (2.8 Mb) TX bytes:2993192 (2.8 Mb)

linux-o2o5:/home/tfox/NRM/scripts #

0 Kudos
athlon_crazy
Virtuoso
Virtuoso
Jump to solution

I think the guest firewall is turn on. Try stop it and then try connect from other client. $/etc/init.d/SuSEfirewall2 stop or find the firewall script inside /etc/init.d

vcbMC-1.0.6 Beta

vcbMC-1.0.7 Lite

http://www.no-x.org
0 Kudos
AWo
Immortal
Immortal
Jump to solution

Use "iptables -F" to delete all rules for testing. If it works you have top check the firewall rules.






AWo

VCP 3 & 4

\[:o]===\[o:]

=Would you like to have this posting as a ringtone on your cell phone?=

=Send "Posting" to 911 for only $999999,99!=

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
0 Kudos
foxybanjo
Contributor
Contributor
Jump to solution

Sweet - it was the firewall. I could find the stop as you mentioned but the the xwindow system (kde) I found the way to stop it and disable its autostart by going thru Start button (or whatever you call it in kde) -> Applications -> Administrator settings (YaST I guess). Sorry to have posted such a easy question but I'm such a newbie to linux. Thanks all for your responses, all very helpful.

0 Kudos
athlon_crazy
Virtuoso
Virtuoso
Jump to solution

Please award some point ya Smiley Happy

vcbMC-1.0.6 Beta

vcbMC-1.0.7 Lite

http://www.no-x.org
0 Kudos
AWo
Immortal
Immortal
Jump to solution

Sorry to have posted such a easy question but I'm such a newbie to linux.

We all were newbies, once.

But with 60% disrespect, 30% intuition and 10% knowledge we made it....


AWo

VCP 3 & 4

\[:o]===\[o:]

=Would you like to have this posting as a ringtone on your cell phone?=

=Send "Posting" to 911 for only $999999,99!=

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =