D
DelJo63
How to setup Portforward(ing) in three steps.
(I) First, the system to receive this data must always be at the same IP address on your LAN.
There are two ways to do this:
(II) Once you have a fixed IP address for your system, you can then add the Portforward.
(III) The system receiving the data from the portforward needs to have the FIREWALL allow inbound traffic
To implement (I.a), you need to have the MAC address for the target system NIC,
and you get that by getting a command prompt and entering: IPCONFIG /ALL
It will show you something like:
You need the Physical Address for the portforwarding setup.
Now use your browser to access your router configuration;
You need the Router Address, USER/PWD and Physical Address above.
The Router Address is shown above as the Default Gateway.
The USER/PWD is specific to every brand of router; try this link to find it.
http://www.routerpasswords.com/
You will need to hunt and peck about the tabs or links to find the page
you need. On my Netgear, reservations are on the Lan IP Setup page.
There are two required entries for an address reservation,
the IP Address to be given to the specific MAC Address.
Note: The address you are assigning should be within the DHCP Range.
On my Netgear, I've set the DHCP to 192.168.0.2 thru 192.168.0.32.
My Laptop has the association of 192.168.0.5 -> AA-BB-CC-DD-EE-FF
Once you've entered the data, be sure to SAVE it. If this reservation is
for the same system you are performing this setup on, you may see the browser disconnect,
so you will need to login again.
Now we can address (II) Portforwarding.
Find the proper page in your router.
The task is to forward Port X(-thru-Y) to your Reserved Address from above.
My Netgear portforwards a range of ports X-Y so if I need only one, then make X=Y.
Be sure to [x] ENABLE the settings you create and SAVE the page when you are done.
(btw: HIGHLY recommend you change the default router password before you exit.
Perhaps something like GW-yourPcPWD).
SAVE (and or RESTART your router).
To verify that {I} has taken effect, disconnect the server system from the router,
wait 30 seconds and reconnect. You should see that 192.168.0.5 -> AA-BB-CC-DD-EE-FF has forced
this systems IP address to what you wanted.
The setup for (III) is dependent upon the firewall you are using.
The concept is to:
Now start the program that needs this port forwarded data.
To test that the portforward is correct, go to WWW.GRC.COM
(Home->Services->ShieldsUP! click proceed)
Just above User Specificed Custom Port Probe there is an input field:
enter the PORT NUMBER of your router portforward setp and click
User Specificed Custom Port Probe
If you have setup the firewall and portforwarding correctly,
then this test will show FAILED Status OPEN.
[from a security standpoint, GRC is saying SECURITY FAILED as the port is OPEN,
but that is the whole point of what YOU wanted to do
]
(I) First, the system to receive this data must always be at the same IP address on your LAN.
There are two ways to do this:
a) use your router to RESERVE an address specifically for that system
b) manually set all the TCP fields (not recommended, too easy to get it wrong and then too it's easy to forget that you did it).
(II) Once you have a fixed IP address for your system, you can then add the Portforward.
(III) The system receiving the data from the portforward needs to have the FIREWALL allow inbound traffic
To implement (I.a), you need to have the MAC address for the target system NIC,
and you get that by getting a command prompt and entering: IPCONFIG /ALL
It will show you something like:
Code:
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : socal.rr.com
Description . . . . . . . . . . . : Realtek PCIe FE Family Controller
[color="BLUE"]Physical Address. . . . . . . . . : AA-BB-CC-DD-EE-FF[/color]
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : [color="red"]192.168.0.5(Preferred)[/color]
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Friday, August 03, 2012 3:42:03 PM
Lease Expires . . . . . . . . . . : Tuesday, September 10, 2148 1:53:49 PM
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 216.116.96.2
216.52.254.1
209.18.47.61
NetBIOS over Tcpip. . . . . . . . : Enabled
Now use your browser to access your router configuration;
You need the Router Address, USER/PWD and Physical Address above.
The Router Address is shown above as the Default Gateway.
The USER/PWD is specific to every brand of router; try this link to find it.
http://www.routerpasswords.com/
You will need to hunt and peck about the tabs or links to find the page
you need. On my Netgear, reservations are on the Lan IP Setup page.
There are two required entries for an address reservation,
the IP Address to be given to the specific MAC Address.
Note: The address you are assigning should be within the DHCP Range.
On my Netgear, I've set the DHCP to 192.168.0.2 thru 192.168.0.32.
My Laptop has the association of 192.168.0.5 -> AA-BB-CC-DD-EE-FF
Once you've entered the data, be sure to SAVE it. If this reservation is
for the same system you are performing this setup on, you may see the browser disconnect,
so you will need to login again.
Now we can address (II) Portforwarding.
Find the proper page in your router.
The task is to forward Port X(-thru-Y) to your Reserved Address from above.
My Netgear portforwards a range of ports X-Y so if I need only one, then make X=Y.
Be sure to [x] ENABLE the settings you create and SAVE the page when you are done.
(btw: HIGHLY recommend you change the default router password before you exit.
Perhaps something like GW-yourPcPWD).
SAVE (and or RESTART your router).
To verify that {I} has taken effect, disconnect the server system from the router,
wait 30 seconds and reconnect. You should see that 192.168.0.5 -> AA-BB-CC-DD-EE-FF has forced
this systems IP address to what you wanted.
The setup for (III) is dependent upon the firewall you are using.
The concept is to:
ALLOW IN/OUT TCP/UDP From ANY Local Port X-Y
Now start the program that needs this port forwarded data.
To test that the portforward is correct, go to WWW.GRC.COM
(Home->Services->ShieldsUP! click proceed)
Just above User Specificed Custom Port Probe there is an input field:
enter the PORT NUMBER of your router portforward setp and click
User Specificed Custom Port Probe
If you have setup the firewall and portforwarding correctly,
then this test will show FAILED Status OPEN.
[from a security standpoint, GRC is saying SECURITY FAILED as the port is OPEN,
but that is the whole point of what YOU wanted to do