[Prev][Next][Index]

Re: IP & tshost (re: my previous mail)



Okay. I will clarify my answer:

TwinSock means that the internet sees only one host. Your users do not
get your IP! The situation is like this:

The user logs in thru modem
The user fires up tshost on your machine and TwinSock on his home PC.

Now the user is connected thru TS.

TS tells Windows that a Winsock compatible transport is available.
The app. trys to open a socket. TS relays the request to tshost.
tshost opens the socket on your machine, and reports success to the
user at home. From now on, all data running to and from the socket
on your Linux gets relayed thru the modem by tshost!

So... The user THINKS he has your IP, but he doesn't. If he had your IP,
then YOU couldn't be working. Actually TS is just pretending to be a
Winsock transport for Windows (at the user's home), and tshost is faking
the users requests - tshost acts on the user's requests on your machine
so that the Internet thinks he is sitting at your console.

This is exactly as if you would open on your X server 4 different Xterms,
then in each you would run login and login as a different user, and then
you would run Netscape from each user's xterm. This is exactly what it looks
like to the internet. The net thinks they are all directly coming from your
machine, and nobody stole anybody else's IP. That's the beauty of TS. You
don't really need an IP in order to use it.

Amit.