Ask the Expert

What is the best way of allowing a request to my Apple Mac to be routed to my Win XP Pro machine? I

I am running a small Web site on my Windows XP Pro machine using IIS (inside the network) I need to able to allow people from the Internet to view my site. What is the best way of allowing a request to my Apple Mac to be routed to my Win XP Pro machine? Is this a software solution or hardware?

    Requires Free Membership to View

There are a number of solutions to your problem. You need to route specific traffic to an internal host, something very common these days.

You mentioned however that you are using an Apple Mac OSX machine which means I won't be able to suggest any software for it as I don't know of any that will do the job.

For the Windows platform however there are a number of applications that you can try on your XP machine just to help you get the idea of what they do. A few of them are 'Advanced TCP Mapper', 'Port Reroute' and "Port Mapper."

When you run such applications, you always are required to select an interface/IP Address (in the case you have more than one)and port number that they will 'listen' on and then the IP and port to which they will forward the request.

Take the following scenario as an example:

Internet-----210.0.0.1/PC/192.168.0.1----switch-----192.168.0.2/PC

The main PC that is also the gateway to the Internet has two interfaces, one connected to the Internet (210.0.0.1) and the other to the private LAN (192.168.0.1). We also have an internal webserver running on 192.168.0.2 – a pc on our LAN.

In this scenario, which is similar to yours, we would configure one of the previously mentioned programs to listen on 210.0.0.1 and port 80, and forward all requests arriving to these parameters to 192.168.0.2 and port 80. This way, all users on the Internet have access to the Internal webserver!

Of course there are other ways you can forward requests to the Internal LAN, and one which I use a lot is using a Linux Firewall running IPTables (www.netfilter.org). I won't get into any details as I don't want to confuse you.

I hope the above helps you solve your problem!

This was first published in February 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: