[Q] How to run a Web Server Behind a Router/Firewall?

Discussion in 'Network Routers' started by Newsgroups, Nov 22, 2006.

  1. Newsgroups

    Newsgroups Guest

    My home computer is connected to the internet thru a cable modem via a
    Belkin F5D8230-4 router. I run a gaming voice server (Ventrilo) on my
    computer and use the Belkin's virtual server feature to forward the Vent
    packets to my computer. This works great, but I'm now thinking of running a
    web server (apache) behind the router and serving pages to browsers external
    to the router.

    Can this be done by forwarding requests to port 80 to the computer running
    the apache server? If so, what would the URL look like? For example, let
    the IP address of the router be aaa.bbb.ccc.ddd and the address of the
    computer running Apache be 192.168.2.201.

    Thanks, in advance.

    Cheers,

    Michael
     
    Newsgroups, Nov 22, 2006
    #1
    1. Advertisements

  2. From: "Newsgroups" <>

    | My home computer is connected to the internet thru a cable modem via a
    | Belkin F5D8230-4 router. I run a gaming voice server (Ventrilo) on my
    | computer and use the Belkin's virtual server feature to forward the Vent
    | packets to my computer. This works great, but I'm now thinking of running a
    | web server (apache) behind the router and serving pages to browsers external
    | to the router.
    |
    | Can this be done by forwarding requests to port 80 to the computer running
    | the apache server? If so, what would the URL look like? For example, let
    | the IP address of the router be aaa.bbb.ccc.ddd and the address of the
    | computer running Apache be 192.168.2.201.
    |
    | Thanks, in advance.
    |
    | Cheers,
    |
    | Michael
    |

    As per the POV of the Intrernet site as long as it uses port 80, normal URL. Either it
    will ne http://WAP_IP or http://Domain.Name If it is using a port other than port 80 such
    as 8080 then http://WAP_IP:8080 or http://Domain.Name:8080

    On the Router just Port forrward port 80 (or as in exampkle 8080) to LAN address such as
    192.168.2.201.
     
    David H. Lipman, Nov 22, 2006
    #2
    1. Advertisements

  3. Newsgroups

    Newsgroups Guest

    Thanks for the info... Still, I'm unable to get it to work. Here's what I've
    done:

    --IP of computer behind firewall: 192.168.2.201
    --IP of Belden Router: ww.xxx.yy.zz
    --When I forward port 80 of the router to the server (behind the firewall),
    I get file not found error 404
    --When I forward port 8080 of the router to the server (behind the
    firewall), I get "unable to connect".

    At the same time (and as you might imagine), everything works fine from
    behind the firewall.

    Any further advice and/or clarification would be very greatly appreciated.

    Michael
     
    Newsgroups, Nov 30, 2006
    #3
  4. From: "Newsgroups" <>

    | Thanks for the info... Still, I'm unable to get it to work. Here's what I've
    | done:
    |
    | --IP of computer behind firewall: 192.168.2.201
    | --IP of Belden Router: ww.xxx.yy.zz
    | --When I forward port 80 of the router to the server (behind the firewall),
    | I get file not found error 404
    | --When I forward port 8080 of the router to the server (behind the
    | firewall), I get "unable to connect".
    |
    | At the same time (and as you might imagine), everything works fine from
    | behind the firewall.
    |
    | Any further advice and/or clarification would be very greatly appreciated.
    |
    | Michael
    |

    Some companies, like Verizon, block incoming TCP port 80. So an alternate like TCP port
    8080 is a good way to go. However, the HTTP Daeman must be serving at TCP port 8080.
     
    David H. Lipman, Nov 30, 2006
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.