I have a static IP, CISCO 2800 Series router and Windows 2003 server machine. My internet line is connected to Router (DHCP enabled) which has one static IP. Now i want to assign an Statis IP for 2003 Server machine so that i can access that machine from any where in the world? Please suggest me with clear details.
Thanks in advance.
Leave the W2K Server alone, let it DHCP as usual.
All the work will have to be done on the Router, you will need to do two things.
1. Using the MAC address (xx:xx:xx:xx:xx:xx:xx:xx) of the W2K server, reserve a local IP address.
2. Using the reserved address, configure the router to pass through the required protocols (80,443).
_
What do you mean access from anywhere in the world?
Remote Desktop?
Using a static NAT statement, you can forward port 3389 (Port Required for remote desktop, to your internal server) on your Cisco router.
Set a static IP address on your server on your INTERNAL network (192.168.0.10 or something similar) – so if your computers are pulling DHCP from the router, and getting an ip like 192.168.0.101 – make sure you put the server in the same network – 192.168.0.10 for instance)
On the Cisco router, you’ll want to do this on the command line. You should be able to telnet to the router (IP address of the inside interface, or the default gateway for the clients on the internal network) or plug in with a console cable.
I know this will work on PIX’s – on that 2800 series the syntax might be a little different, post a comment if it does not work – and I’ll make sure to get you the right one.
static (inside,outside) tcp —.—.—.— 3389 ***.***.***.*** 3389 netmask 255.255.255.255 0 0
The first blanks (the hyphens —-) That is your EXTERNAL STATIC IP ADDRESS
The second blanks (the ****) That is your IP ADDRESS OF THE SERVER
So this statement says – anything coming in from the outside interface, that is 3389 traffic, go to the server on port 3389.
NOW – from anywhere in the world – you can remote desktop to your external IP address, and it will allow you to connect to your server. =)
—- Also —- The post above me says open some other ports. You would open these the same way. On the above statement, where it says 3389 – replace both of those with port 80, and 443. This is HTTP (80) and HTTPS (443). So if you ran a website on the server, or have mail hosted (Exchange) – this would allow web mail access, and http website access via external IP address.
May I suggest purchasing a domain name, like COMPANYNAME.COM and then point that to your external static IP address.
That way you can just remote desktop to MYCOMPANYNAME.COM instead of IP address.
Then you can host a website, and mail, and all the good stuff =)