From: Josep Ma [JAZ] <jo...@gm...> - 2008-01-23 18:47:25
|
As you say, you have to use a syntax like "eth0=slirp,,tcp:22:22/tcp:80:80" to open ports from colinux in slirp mode. Let's verify a few steps: How have you configured the eth in linux? you know you have to use the IP 10.0.2.15/24 , the gateway 10.0.2.2, and the DNS server 10.0.2.3, do you? (Configuring it with DHCP should also work). Do you get to internet from colinux? Ping doesn't work with slirp, but you can try telnet, ssh, wget.... Now, if that works, how do you try to connect to colinux from windows? Slirp connection makes colinux act as if it was the windows machine. This means that you have to connect to localhost. Example: http://localhost/ should connect to an http server in colinux, if using the above eth0 configuration. (That is, of course, if there port isn't already used in windows). If that still doesn't work, you would need to be more specific as to which configuration are you using and how do you try to use it. |