Ics port forwarding in xp

O

Owen Mather

I was wondering if any one could help. I have 3 pc's (1 downstairs with
broadband, the other 2 upstairs sharing the broadband via ics) on a home
network, one has the broadband connection and I use the win xp ICS to share
the internet connection.

On one of the pc's upstairs i have an apache server. You can only access the
apache server on an internal ip. I want someone to be able to access it from
outside on the internet. But because the 2 upstairs pc's dont have there own
individual internet ip address ( because i use ics), the pc with apache on
upstairs cannot be accessed.

Because the pc downstairs with broadband on has an internet ip, i think that
you have to use that ip address on the internet, and get the pc to forward
it to an internal ip

So when you go to 815.14.2.26 for example it goes to the downstairs machine
and forwards it to the internal ip of 192.168.0.24.

Can any one explain how this is setup in winxp?
Thanks very much
Owen
 
J

James Egan

So when you go to 815.14.2.26 for example it goes to the downstairs machine
and forwards it to the internal ip of 192.168.0.24.

Can any one explain how this is setup in winxp?

If your ISP doesn't give you a static ip address
http://www.dyndns.org (or similar) to register a subdomain name.
http://www.palacio-cristal.com/products/DeeEnEs (or similar) as an ip
updater. There are several websites which will return your external ip
address eg http://checkip.dyndns.org/ so select web based ip
detection. Then remote machines can refer to you by a fixed public
name.

As far as port forwarding is concerned, there may be a registry hack
but another simple option is to run this portmapper on the ICS host
machine.
http://www.analogx.com/contents/download/network/pmapper.htm


Jim.
 
S

Steve Winograd [MVP]

"Owen Mather" said:
I was wondering if any one could help. I have 3 pc's (1 downstairs with
broadband, the other 2 upstairs sharing the broadband via ics) on a home
network, one has the broadband connection and I use the win xp ICS to share
the internet connection.

On one of the pc's upstairs i have an apache server. You can only access the
apache server on an internal ip. I want someone to be able to access it from
outside on the internet. But because the 2 upstairs pc's dont have there own
individual internet ip address ( because i use ics), the pc with apache on
upstairs cannot be accessed.

Because the pc downstairs with broadband on has an internet ip, i think that
you have to use that ip address on the internet, and get the pc to forward
it to an internal ip

So when you go to 815.14.2.26 for example it goes to the downstairs machine
and forwards it to the internal ip of 192.168.0.24.

Can any one explain how this is setup in winxp?
Thanks very much
Owen

Check your broadband ISP's policy on running a web server. For
example, Comcast doesn't allow its home customers to do it.

Assign a static IP address, such as 192.168.0.24, to the computer
with the Apache server.

To forward web server traffic to that computer, make these settings on
the downstairs computer:

1. Right-click the shared Internet connection.
2. Click Properties.
3. Click Advanced.
4. Click the Settings button.
5. Put a check mark in the "Web Server (HTTP)" box.
6. Enter the name or IP address of the web server computer in the
indicated box.
--
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
 
O

Owen Mather

Does the ip have to be static, i have tried this once using a non static ip
and when i type the ip in for the downstairs machine, it comes up with the
page not found error. But is should actually redirect to my internal apache
machine?

Steve Winograd said:
Check your broadband ISP's policy on running a web server. For
example, Comcast doesn't allow its home customers to do it.

Assign a static IP address, such as 192.168.0.24, to the computer
with the Apache server.

To forward web server traffic to that computer, make these settings on
the downstairs computer:

1. Right-click the shared Internet connection.
2. Click Properties.
3. Click Advanced.
4. Click the Settings button.
5. Put a check mark in the "Web Server (HTTP)" box.
6. Enter the name or IP address of the web server computer in the
indicated box.
--
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
 
S

Steve Winograd [MVP]

"Owen Mather" said:
Does the ip have to be static, i have tried this once using a non static ip
and when i type the ip in for the downstairs machine, it comes up with the
page not found error. But is should actually redirect to my internal apache
machine?

You're welcome.

If you enter the Apache machine's IP address in step 6 above, it has
to be static. If you enter the Apache machine's computer name in step
6 above, I don't know whether the IP address has to be static. To
find out, try it, and see what happens when the machine's IP address
changes.
--
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
 
O

Owen Mather

Thanks

I have tried using the computers name for step 6.
When i enter the ip of the main downstairs machine, i can tell its
connecting to the downstairs pc because norton firewall popsup. I permit the
connection and then a "BT yahoo" (thats my isp) search page comes up and
says it cannot be found.The same happens wether my firewall is on or off.?

I have a wireless network, so when my ip is static, filesharing works on the
apache pc, but internet or email doesnt work, so i think i will have to
stick with it being automatically assigned ip.

Any ideas, as page not found appears. I have checked my webserver is running
and can access it from the internal ip?
 
O

Owen Mather

When I select my machine in step six, the wireless network on the upstairs
machine doesnt work. It cannot obtain an ip from the downstairs machine, but
when the httpserver port forwarding is off, it can obtain an ip address.
Also i know that it is interacting with the apache machine because on the
main machine when i go to workgroup computers and select the 'apache' it
accesses it or when the apache server is not running, it says 'server not
runing.'
??
Thanks
 
J

James Egan

I have a wireless network, so when my ip is static, filesharing works on the
apache pc, but internet or email doesnt work, so i think i will have to
stick with it being automatically assigned ip.

When you give it a static ip address, you also have to enable dns and
manually enter (as nameserver) the ip address of the ics host or the
ip address(es) of your isp's nameservers. This is all automatic when
using dhcp.


Jim.
 
O

Owen Mather

Thanks
I have done that and i works fine, but do you know what netbios is, because
my pc said i had to enable it. So i did and it worked!
 
J

James Egan

I have done that and i works fine, but do you know what netbios is, because
my pc said i had to enable it. So i did and it worked!

netbios is associated with browsing on your LAN not with connecting to
the Internet.

You will be advised to use a static address for the web server.


Jim.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top