Routing/Redirecting in Windows XP

Discussion in 'Windows Desktop Systems' started by DJ-phYre, Jun 8, 2003.

  1. DJ-phYre

    DJ-phYre To whom it may concern

    Messages:
    135
    Location:
    Monroe, LA
    I am using Windows XP as my gateway to the internet (I am dial-up with no router). I have a Linux box that pulls DHCP from XP. I was wondering if there was anyway I could redirect ports from the XP machine to the Linux machine. I am talking about web ports (8080), or even ftp ports (21). I know I can run my linux box as a router, but I am too lazy to set up IP MASQ. Plus I am not that good with Linux just yet. If anyone has any solutions please let me know. Thanks....
     
  2. NetRyder

    NetRyder Tech Junkie Folding Team

    Messages:
    13,256
    Location:
    New York City
    I assume you're using Internet Connection Sharing on the XP box

    If so, go to your Network Connections, right click the appropriate connection, go to Properties, then go to the Advanced tab. Since the ICS option is already checked, click the Settings button.

    That's where you can forward the ports you want to the client machine.

    Hope that helps :)
     
  3. DJ-phYre

    DJ-phYre To whom it may concern

    Messages:
    135
    Location:
    Monroe, LA
    Thanks Netryder, that just might do it, although I will have to try in a few days, my Linux box is out of order atm :)
     
  4. NetRyder

    NetRyder Tech Junkie Folding Team

    Messages:
    13,256
    Location:
    New York City
    No probs ;)
     
  5. Zedric

    Zedric NTFS Guru Folding Team

    Messages:
    4,006
    Location:
    Sweden
    Yep that's it. :)
    Oh and the standard web port is 80 btw...
     
  6. Syd[SU]

    Syd[SU] Guest

    I am having close to the same problem only i am running the internet connection through a win 98se. . . I was hopping to share the connection with the Xp machine but neither machine wants to recognize each other. . . I can share files and such without a problem, and both machines run on fat32 so its not the file system.

    What do i do, i tired to switch the connection to the xp machine to host but i could noto connect from there either, basically how do i forward the ports?
     
  7. jonifen

    jonifen pffff...

    Messages:
    705
    I had quite a few problems with ICS on Win98SE - I found the server would often lose internet connectivity while the client was fine. Might be better for you to use the WinXP machine as server/gateway
     
  8. Ezergeezer

    Ezergeezer OSNN Addict

    Messages:
    123
    Location:
    East Anglia
    Internet connection Sharing

    I'm having this problem too, I have 2 machines running XP Pro
    and have a USB dsl modem plugged into main PC and are using a 4 port ethernet switch between machines. I have used all the usual wizards to do the set up for ICS. I can file share between machines no problem, but cannot get an internet connection on the second machine. On the second machine I have icon (2 Comp screens) showing and giving info of internet connection on main machine.

    Any Help too!
     
  9. SkazzyUK

    SkazzyUK XP-erience Oldie

    Messages:
    900
    Location:
    Brighton, West Sussex, UK
    Ezergeezer, give them both ip's give the pc with the modem the LAN ip of 192.168.0.1 subnet will default to 255.255.255.0
    and the one u want it shared with to 192.168.0.2 then on the 192.168.0.2 machine make the gateway 192.168.0.1 and the dns server 192.168.0.1 also :)

    Should do the trick

    Skazz
     
  10. Ezergeezer

    Ezergeezer OSNN Addict

    Messages:
    123
    Location:
    East Anglia
    Skazzy, thanks for the reply, But I'm gonna need an absolute dumbo's guide to do what you said. Give each machine an IP address? where? sorry.
     
  11. Syd[SU]

    Syd[SU] Guest

    hey man i tried that on my machine and it still give me an error . . .error 799, an ip conflict. now i cant even acess my router direct
     
  12. SkazzyUK

    SkazzyUK XP-erience Oldie

    Messages:
    900
    Location:
    Brighton, West Sussex, UK

    Ok, well if you go into network connections, there will be 2 connections on the pc with the modem (the server/gateway pc).

    Now one will be to connect to the internet (USB Broadband/ADSL) and the other will the the LAN/Internal Network.

    Right click on the LAN connection > Properties > Select TCP/IP > Properties > Use the following IP address

    Then specify them as I told you before.

    Do the same for the other machine but with the ip of 192.168.0.2 instead of 192.168.0.1

    The machine that connects to the internet should be as follows:

    IP ADDRESS: 192.168.0.1
    SUBNET: 255.255.255.0
    GATEWAY: LEFT BLANK

    The machine that connects to the other pc for the internet:

    IP ADDRESS: 192.168.0.2
    SUBNET: 255.255.255.0
    GATEWAY: 192.168.0.1

    DNS Server: 192.168.0.1

    Thats it :)

    Skazz
     
  13. Syd[SU]

    Syd[SU] Guest

    thanks will try to work it out tomorrow! :)
     
  14. Ezergeezer

    Ezergeezer OSNN Addict

    Messages:
    123
    Location:
    East Anglia
    ICS

    Thanks Skazzy, you pointed me in the right direction, but after all the hours of head scratching I finally sorted it out, I was running
    Zonealarm pro and it was blocking the connection, what a dumbo!!

    Thanks again !
     
  15. SkazzyUK

    SkazzyUK XP-erience Oldie

    Messages:
    900
    Location:
    Brighton, West Sussex, UK
    Re: ICS

    Hehe, you plonka :p

    Easy mistake to be made, but least its all good noew :)

    Good Job

    Skazz