|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
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!
__________________
Edgar Castanedo |
|
#2
|
||||
|
||||
|
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)
__________________
And you know I mean that. |
|
#3
|
|||
|
|||
|
[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****) |
|
#4
|
|||
|
|||
|
I have static IP's for both PC's. Does anyone know how to do it in this case?
|
|
#5
|
|||
|
|||
|
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? |
|
#6
|
||||
|
||||
|
>>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. Last edited by AlCapone : February 15th, 2002 at 02:45 PM. |
|
#7
|
|||
|
|||
|
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...) |
|
#8
|
|||
|
|||
|
I will have to try this later (after work
). I'll let you know if this works. |
|
#9
|
||||
|
||||
|
>>do we need that here right now?
not now, but I bet it'll come up some time soon again. |
|
#10
|
|||
|
|||
|
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?
|
|
#11
|
|||
|
|||
|
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 ![]() |
|
#12
|
|||
|
|||
|
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.... Last edited by ecastanedo : February 15th, 2002 at 04:01 PM. |
|
#13
|
||||
|
||||
|
>>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... |
|
#14
|
|||
|
|||
|
.. coz we are hackers and we dont do it the "standard" way
![]() |
|
#15
|
|||
|
|||
|
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?
|