Helpful Information
 
 
Category: Windows Help
gateway???

Does anyone know how to set up a windows xp pc as a gateway to my other pcs? I am trying to telnet to my unix box at home, but windows is my gateway. My unix box is behind my windows box. It uses my windows box to connect to the internet. I want to do the opposite now. I want to telnet to it. Does anyone know if windows will let you do this somehow by acting as a gateway?

Thanks in Advance!

I know it can be done if you have domain name registered and AFAIK they do go through gateways, but if you dont you could try using port forwarding (although I did not have chance to do it myself)

[qoute]
you could try using port forwarding
[/quote]

this is the only way if you donīt have official IPs for both machines!

dns is not required for this at all.

port-forwarding is the "reverse" of masquerading (one-way NAT, "Internet Connection Sharing" on Win****)

I have static IP's for both PC's. Does anyone know how to do it in this case?

then it should work like this: (untested)

go to the properties page of your network connection, then the last tab ("Erweitert" in german, probably says something like "extended options"), then there is a button "settings".
check "telnet" there.

did it work?

>>dns is not required for this at all.
I was talking what-if situation when you have domain registered and its pointing to the box with gateway

>>this is the only way if you don't have official IPs for both machines!
reality is that most behind-gateway computers dont. Although, as it turned out, here he does have differen ips

>>port-forwarding is the "reverse" of masquerading
are you going to expand that?

edit:
Port forwarding forwards all packets intended for one forwarding port on the gateway to routed on a specified port of the lan machine (after a little rewriting of headers). This is (in some ways) a reverse of masquerading and uses many of the maquerading functions - particularly the packet header rewriting code. But it is not exactly the reverse of masquerading.

if we go into detail, it will become much harder... talking about layer 4 proxying etc...
do we need that here right now?
(i am not trying to get around the answers, just asking if anyone is interested...)

I will have to try this later (after work :)). I'll let you know if this works.

>>do we need that here right now?
not now, but I bet it'll come up some time soon again.

One thing though. How does windows xp (using your method) know that when someone enters the ip address of itself via telnet, to send the request to my unix box?

if you telnet to yourself, you wonīt end at your unix box ;) sorry, my english is not that good.

trying to understand ... ok, if you setup port forwarding, ALL requests to the gateway to this specific port (service) will end at your unix-box. you could not telnet to your gateway then anymore (depending on your setup only from the outside, it still can accept telnetīs from your unix box...)

there is something wrong with your setup anyway. unix is the more secure, so use unix on the gateway and (if you really need) winXP on your Desktop. ok ok, i know: its much harder to setup this way :)

I guess i can do a switch-a-roo on my boxes. The only reason I have windows as the gateway is because I do not always have my boxes on. Everyone who uses the Internet at home does not know how to use unix, so they just boot up windows. When I need unix on, I turn on both computers.

This is why I want to use Windows XP as a gateway and enable port forwarding. Does this make more sense?

Thanks....

>>The only reason I have windows as the gateway is because I
>>do not always have my boxes on
've been there done that, but why can you not just spend those bloody $90 for a router and forget about keeping your box on if you want to be online? That is what routers for...

.. coz we are hackers and we dont do it the "standard" way :D

I'll get a router later. I still need to set up my windows pc with port forwarding. Does anyone know how to do this?

I too have an xp gateway [temp till my redhat server gets up and running], and have been messing with the port forwarding settings...
i've been trying to point port80 at another machine, aswell as run game servers off another..
i'm having no joy at any port forwarding at all..

If your using ICS with XP port forwarding is really easy to do.
Just right click on your adapter thats connected to the internet, choose properties, and then the Advanced button.
Now Click on settings...

Here you go.
Now, there are got ya's that you should be aware of. Every port has to defined. If you have an application that uses random UDP ports, aka most games, then this will be a huge pain in the *** to confirm and get it working correctly...










privacy (GDPR)