Windows Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsWindows Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old February 14th, 2002, 11:49 AM
ecastanedo ecastanedo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Location: Los Angeles, California
Posts: 102 ecastanedo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 10 sec
Reputation Power: 9
Exclamation 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!
__________________
Edgar Castanedo

Reply With Quote
  #2  
Old February 15th, 2002, 05:29 AM
AlCapone's Avatar
AlCapone AlCapone is offline
Mobbing Gangster
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Sep 2001
Location: "Best City" 2002 and 2003- Melbourne, Australia
Posts: 4,913 AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 h 36 m 31 sec
Reputation Power: 17
Send a message via ICQ to AlCapone Send a message via AIM to AlCapone Send a message via Yahoo to AlCapone
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.

Reply With Quote
  #3  
Old February 15th, 2002, 02:11 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
[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****)

Reply With Quote
  #4  
Old February 15th, 2002, 02:25 PM
ecastanedo ecastanedo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Location: Los Angeles, California
Posts: 102 ecastanedo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 10 sec
Reputation Power: 9
I have static IP's for both PC's. Does anyone know how to do it in this case?

Reply With Quote
  #5  
Old February 15th, 2002, 02:30 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
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?

Reply With Quote
  #6  
Old February 15th, 2002, 02:43 PM
AlCapone's Avatar
AlCapone AlCapone is offline
Mobbing Gangster
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Sep 2001
Location: "Best City" 2002 and 2003- Melbourne, Australia
Posts: 4,913 AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 h 36 m 31 sec
Reputation Power: 17
Send a message via ICQ to AlCapone Send a message via AIM to AlCapone Send a message via Yahoo to AlCapone
>>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.

Reply With Quote
  #7  
Old February 15th, 2002, 02:47 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
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...)

Reply With Quote
  #8  
Old February 15th, 2002, 03:13 PM
ecastanedo ecastanedo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Location: Los Angeles, California
Posts: 102 ecastanedo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 10 sec
Reputation Power: 9
I will have to try this later (after work ). I'll let you know if this works.

Reply With Quote
  #9  
Old February 15th, 2002, 03:27 PM
AlCapone's Avatar
AlCapone AlCapone is offline
Mobbing Gangster
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Sep 2001
Location: "Best City" 2002 and 2003- Melbourne, Australia
Posts: 4,913 AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 h 36 m 31 sec
Reputation Power: 17
Send a message via ICQ to AlCapone Send a message via AIM to AlCapone Send a message via Yahoo to AlCapone
>>do we need that here right now?
not now, but I bet it'll come up some time soon again.

Reply With Quote
  #10  
Old February 15th, 2002, 03:33 PM
ecastanedo ecastanedo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Location: Los Angeles, California
Posts: 102 ecastanedo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 10 sec
Reputation Power: 9
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?

Reply With Quote
  #11  
Old February 15th, 2002, 03:37 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
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

Reply With Quote
  #12  
Old February 15th, 2002, 03:52 PM
ecastanedo ecastanedo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Location: Los Angeles, California
Posts: 102 ecastanedo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 10 sec
Reputation Power: 9
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.

Reply With Quote
  #13  
Old February 15th, 2002, 04:06 PM
AlCapone's Avatar
AlCapone AlCapone is offline
Mobbing Gangster
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Sep 2001
Location: "Best City" 2002 and 2003- Melbourne, Australia
Posts: 4,913 AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 h 36 m 31 sec
Reputation Power: 17
Send a message via ICQ to AlCapone Send a message via AIM to AlCapone Send a message via Yahoo to AlCapone
>>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...

Reply With Quote
  #14  
Old February 15th, 2002, 04:10 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
.. coz we are hackers and we dont do it the "standard" way

Reply With Quote
  #15  
Old February 15th, 2002, 08:04 PM
ecastanedo ecastanedo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Location: Los Angeles, California
Posts: 102 ecastanedo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 10 sec
Reputation Power: 9
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?

Reply With Quote