Articles

Static ip and port forwarding

May 9, 2010 at 02:16:33
Specs: Windows 7, amd phenom x4 955, 4 gb

I have a home desktop pc, iphone and several laptops (friends) that connect to the internet through the (Linksys WRT120N Wireless-N Home Router).

I have a dynamic ip from my isp and i'm using dhcp and nat and all the devices are connecting to the internet just fine.

I wanted to make my pc a server for use with several things such as remote desktop (3389), and source control (svn port 3690), so i requested a static ip from my isp. Here are the settings given:

no dhcp, no nat

router ip : 196.219.18.209
(originaly 192.168.1.1)
router subnet: 255.255.255.252
(originaly 255.255.255.0)

computer ip: 196.219.18.210
comupter subnet:255.255.255.252

The problem is that now only the pc with the static ip can connect to the internet, and i want the other devices to connect to the net also.

i did some research, so i understand that to do that i must :
1. assign the static ip to the router instead of the pc
2. re-enable nat and dhcp
3. port forward the needed ports to the pc so i can access it remotely.

i have limited network experience (software developer not network admin :) ), so detailed configuration steps would be greate.

sorry for the long post, i tried to make the problem as clear as possible. Thanks for your help


See More: Static ip and port forwarding

Report •


#1
May 9, 2010 at 04:16:34

Reset the router to it's defaults, from what you posted it looks like your internal network will be 192.168.1.x

Be sure DHCP and Port Forwarding is enabled, leave the rest of the network settings at there default.

Configure DHCP on the router so the address pool starts at something like 192.168.1.50

Assign a static IP to the pc you want to be the server, say 192.168.1.3

On the router configure port forwarding to the ports you want forward to the pc you assigned the static ip:

3389 -> 192.168.1.3

There are usually commonly forwarded protocols pre-configured in the router, not that it matters much.

So long as you have a static up that's all there is to it, you should be able to connect to your pc via RDP from any PC connected to the internet.

If one does not have a static ip investigate something like:
http://www.dyndns.com/

Good luck


Report •
Related Solutions


Ask Question