Re: NAT + Port Forward on Windows XP



In article <3A85409F-AD08-4B44-82D2-84C4D2AC9AAF@xxxxxxxxxxxxx>,
Vilius <Vilius@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hello,

I have configured NAT on Windows XP box by enabling IPEnableRouter in
registry. Everything worked like a sharm. Now I want to forward some ports to
one host on internal network. I know that I need ICS for that. So I enabled
ICS and forwarded some ports and it worked too. The problem is, that just
after I enabled ICS, NAT doesn't work anymore. My question is how can I make
NAT AND ICS work together?

I'd like to help, but I don't have enough information. Please answer
these questions, and include any other information you can think of
that would help people understand the situation:

1. What indicates to you that ICS breaks NAT? What are you doing that
works when ICS isn't enabled? What's different when you enable ICS?
If there are error messages, what do they say?

2. How many network adapters does the Windows XP box have? What is
each one connected to? What is the IP address and subnet mask of each
one?

3. Which network adapter have you told ICS to use as the Internet
connection?

4. Which network adapter have you told ICS to use as the home network
connection? ICS automatically changes that connection's IP address to
192.168.0.1, with a subnet mask of 255.255.255.0.

I think that you and I use different terminology, and I don't want it
to prevent me from understanding your question. As I see it:

1. The IPEnableRouter registry key enables IP forwarding in Windows
XP. IP forwarding causes packets that arrive at one network interface
to be repeated on other network interfaces, allowing an XP computer to
route traffic between multiple subnets. Is that what you mean by
"NAT".

2. NAT (Network Address Translation) is something different. NAT lets
a computer (or broadband router) share a single Internet connection
and a single public IP address between multiple computers. For
details, see these sites:

http://en.wikipedia.org/wiki/Network_address_translation
http://www.microsoft.com/technet/prodtechnol/winxppro/deploy/nattrnsv.mspx

XP's ICS (Internet Connection Sharing) is a NAT program.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
.



Relevant Pages

  • Re: Buffalo Wireless Network Sucks
    ... I have found out that try as you may you won't get ICS working with the free ... version of Zone Alarm, the Pro Version will work but requires some tweaking. ... Windows Firewall in favour of a Third Party product. ... >>> I have noticed that on my main PC in Windows Explorer Folders My Network ...
    (microsoft.public.windowsxp.general)
  • Re: NAT + Port Forward on Windows XP
    ... Windows XP box. ... Windows XP box has two network interfaces: ... ICS automatically changes that connection's IP address to ... The IPEnableRouter registry key enables IP forwarding in Windows ...
    (microsoft.public.windowsxp.network_web)
  • Re: NAT + Port Forward on Windows XP
    ... ICS and forwarded some ports and it worked too. ... after I enabled ICS, NAT doesn't work anymore. ... How many network adapters does the Windows XP box have? ... The IPEnableRouter registry key enables IP forwarding in Windows ...
    (microsoft.public.windowsxp.network_web)
  • Re: setting an internet to workgroup
    ... Difference between ICS and NAT ... and name resolution services to the network hosts. ... box) on the computer running Windows 2000/2003 to provide a translated ... connection to Internet for all of the hosts on the network. ...
    (microsoft.public.win2000.networking)
  • Re: NAT + Port Forward on Windows XP
    ... ICS and forwarded some ports and it worked too. ... How many network adapters does the Windows XP box have? ... The IPEnableRouter registry key enables IP forwarding in Windows ...
    (microsoft.public.windowsxp.network_web)