From: Henry N. <Henry.Ne@Arcor.de> - 2005-10-04 18:20:22
|
Damien Boussi=E9 wrote: > Hello all, > Thanks for the reply, but I still have an other problem. > My goal is to use a CoLinux server without windows network. So I=20 > want to access my CoLinux with standard port (22/80). > When my windows is launched with the network there is no problem, I= =20 > can access all forwarded ports, even if I deactivate the network. But=20 > when I launch my windows without network I couldn't access forwarded=20 > port, even if I activate the network after... The port is responding bu= t=20 > not the service : > example : > _Booting without network, and with network deactivate : _ > dboussie@daffy ~ > $ telnet localhost 80 > Trying 127.0.0.1... > Connected to daffy. > Escape character is '^]'. > Connection closed by foreign host. >=20 > dboussie@daffy ~_ > Booting without network, and with network activate after boot but=20 > without relaunching CoLinux_ > dboussie@daffy ~ > $ telnet localhost 80 > Trying 127.0.0.1... > Connected to daffy. > Escape character is '^]'. > Connection closed by foreign host. >=20 > dboussie@daffy ~ >=20 > _After relaunching CoLinux with network enable, it's ok._ > _When I boot with network and deactivate the network I can access=20 > forwarded port ... _ >=20 > I'm running coLinux-0.6.3-rc2, with Debian image and SLIRP network. >=20 > Have someone the same problem as me ? > Have someone access its forwarded port, even if there is no network= =20 > at boot ? > Have someone an idea for my problem ? > Thanks in advance, > bye, If you start colinux without networks, the SLiRP hangs on localhost=20 127.0.0.1, but it's not implement the forwarding for this address. Why you not install tun-tap for local network between windows and colinux= ? Good combination is using of SLiRP and TAP on different networks. This=20 allow you to use TAP all times from windows to linux, and SLiRP for=20 outgoing (or incomming, if forwards). Sample: <network index=3D"0" type=3D"slirp" redir=3D"tcp:22:22/tcp:23:23" /> <network index=3D"1" type=3D"tap" /> Inside colinux: eth0: 192.168.200.x (Or other network, that is not use in your LAN) eth1: 10.0.2.15/255.255.255.0 Gateway: 10.0.2.2 DNS: 10.0.2.3 --=20 Henry Nestler |