Geek Freely: web server

    Featured Post

    The whole point in this post is to run your own VPN service, and allow you to connect remote devices to your home network.

    To start off yo…

    Showing posts with label web server.

    Showing posts with label web server.

    Port forwarding is a bit of a necessity, because your only alternative is UPNP, which is a huge vulnerability.


    allows programs to automatically configure port redirection (NAT

    traversal) and therefore if you happen to get a malicious program on

    your computer it could reek havoc if UPNP is available.


    forwarding, as I discuss here, is the act of manually configuring your

    router to redirect ports to specific computers on your network.

    What is the point of port forwarding, you may ask?


    take an simple example, imagine you have three computers on your

    network, and one of them has a web server, port redirection will allow

    all webpage requests coming to your WAN IP to be routed to the

    appropriate device.

    To expand.

    WAN IP:

    Internal Computer 1:

    Internal Computer 2:

    Internal Computer 3:

    If the web server is running on Internal Computer 2, you must forward all web request (assume HTTP, port 80 here) to it.


    router will request ALL external requests from ANY source to port 80 to

    be redirected to port 80 at internal address


    more complex example would be Remote Desktop. Lets say you want to

    access any of your PCs from outside your home network, while at work

    possibly. If all computers are running Windows the RDP (Remote Desktop)

    port associated with this service is 3389. You can’t use the same

    external port redirection, that is to say you can’t redirect 3389 to

    multiple destinations – it’s just not possible.


    are a couple of options to overcome the problem. One is to change the OS

    (Operating System) RDP port, the other much simpler method is to use a

    different external port.

    To expand.

    WAN IP:

    Internal Computer 1:

    Internal Computer 2:

    Internal Computer 3:


    say you redirect port 1 to Internal Computer 1 port 3389, port 2 to

    Internal Computer port 3389, and port 3 to Internal Computer port 3389.


    to access your PC from an external location all you need to do is start

    the Remote Desktop application and enter the following: to RDP to Internal Computer 1 to RDP to Internal Computer 2 to RDP to Internal Computer 3


    ports 1-3 are not recommended by ICANN.

    You should use anything above


    See the following link for more information.


    for actually configuring Port Forwarding on your router you can either

    check the manual, the manufacturers website, or the following web page:

    Subscribe to:


    Blog Archive


    Leave a Reply

    Your email address will not be published.