I checked that. There's no ipchains in this root_fs, and iptables -L
disavows all knowledge of any iptables rules. Unless there's another
way some firewall rules could have slipped in. This was a downloaded
root filesystem, so there could be config stuff I don't know about, but
there wasn't anything obvious I've found so far.
Eric Andresen wrote:
> Make sure your UML isn't running any form of iptables/ipchains that might be blocking off your other ports.
> On Thursday 03 July 2003 03:45 pm, Steve Garcia wrote:
>>I've set up a UML instance (my first) using the downloaded RH6.2 root
>>filesystem. After a little head scratching I have networking up and
>>running, but I have something funny going on.
>>Although the UML has a number of network services running, only two of
>>these are visible from the host -- http and mysql. In particular, sshd
>>is running on the UML system but it's not visible from the outside. On
>>the other hand, I can ssh from the UML to the host.
>>I did a port scan on the hostside IP for the UML and here's what I got...
>>Starting nmap 3.20 ( http://www.insecure.org/nmap/ ) at 2003-07-03 13:36 PDT
>>Interesting ports on 10.0.0.5:
>>(The 1609 ports scanned but not shown below are in state: closed)
>>Port State Service
>>80/tcp open http
>>3306/tcp open mysql
>>Nmap run completed -- 1 IP address (1 host up) scanned in 2.902 seconds
>>I tested, and I really can see the default Apache page on the UML system
>>from the host.
>>On the other hand, from inside the UML netstat tells me...
>>Active Internet connections (servers and established)
>>Proto Recv-Q Send-Q Local Address Foreign Address State
>>tcp 0 0 *:login *:* LISTEN
>>tcp 0 0 *:linuxconf *:* LISTEN
>>tcp 0 0 *:shell *:* LISTEN
>>tcp 0 0 *:smux *:* LISTEN
>>tcp 0 0 *:finger *:* LISTEN
>>tcp 0 0 *:sunrpc *:* LISTEN
>>tcp 0 0 *:www *:* LISTEN
>>tcp 0 0 *:auth *:* LISTEN
>>tcp 0 0 redhat62:domain *:* LISTEN
>>tcp 0 0 localhost:domain *:* LISTEN
>>tcp 0 0 *:ftp *:* LISTEN
>>tcp 0 0 *:ssh *:* LISTEN
>>tcp 0 0 *:telnet *:* LISTEN
>>tcp 0 0 *:smtp *:* LISTEN
>>udp 0 0 *:1024 *:*
>>udp 0 0 *:talk *:*
>>udp 0 0 *:ntalk *:*
>>udp 0 0 *:snmp *:*
>>udp 0 0 redhat62:domain *:*
>>udp 0 0 localhost:domain *:*
>>udp 0 0 *:sunrpc *:*
>>If I couldn't see anything on the UML I'd be less perplexed. The fact
>>that I can see some services means networking is up -- but why just
>>those services? And how do I get ssh visible from the host?
>>This SF.Net email sponsored by: Free pre-built ASP.NET sites including
>>Data Reports, E-commerce, Portals, and Forums are available now.
>>Download today and enter to win an XBOX or Visual Studio .NET.
>>User-mode-linux-user mailing list