Configuring RT31P2 and WRT54G for public and private network

Discussion in 'Networking Issues' started by ccriver, Feb 14, 2006.

  1. ccriver

    ccriver Network Guru Member

    I'm trying to set up a windows pc as a web and smtp/pop3 server at home and I need help.

    Here's the setup:

    1. DSL.
    2. RT31P2 router acts as internet gateway and provides me with two Vonage lines. Base IP is
    3. Behind the Rt31P2 is the WRT54G that I want to use for my private network. It is currently setup in a "router" config (not gateway) and "Internet Connection Type" is set to "Automatic Config - DHCP". Base IP is
    4. My web server is attaced to RT31P2.
    5. DHCP is enable on RT31P2 because when I try to us static IP for the web server, I cannot reach it from the WRT54G subnet for some reason.
    6. I am forwarding ports to the (dhcp-assigned ip of the web server but when I access via my assigned name I get the RT31P2's login instead of the web server.

    How do I set this up properly? In the end I want the RT31P2 to act as the Internet gateway with only the web server hanging off it. Then I want my WRT54G behind all this with my private network (including, incidentally, a database server that the web server will need to access).

    A related question is: do I need to put a static host table on my machines so that they find my web server by name instead of IP?

  2. NateHoy

    NateHoy Network Guru Member

    Well, first, I'd reverse that order. The WRT54G is a more robust router and has working QoS which will help you out considerably. You should not have to forward any ports to the RT31P2 to make it work, and you can have that router as your Vonage device and to manage your "private" machines.

    That aside, it's a simple configuration:


    Here are some "newbie" instructions on how to do it with an RTP300 or WRTP54G, both of which are pretty close to your RT31P2 - just keep in mind that in your case you WILL be using the ports on the RT31P2. ;)

    EDIT: Also, in your case, you do not want to turn on remote admin on your Vonage router, since your clients will be connected to it directly, and you probably don't want access from your "less secure" network.
  3. t4thfavor

    t4thfavor Network Guru Member

    to get this to work faithfully you have to set up a static ip for the web server and then forward all incoming traffic on the web server port to that ip.

    its under applications and gaming. or which i dont likt this, put it in the dmz. but since you have 2 routers it will hard to do.

    never use 2 routers when you can get away with one. its just easier, faster, and better.

    also make sure port 80 is not blocked by your isp. Alot of isp's do that unless you have a buisness line. so make sure or set the web server to listen on port 81 or whatever you want it to be
  4. ccriver

    ccriver Network Guru Member

    Thanks guys!

    NateHoy, your advice was right on! I reconfigured my home network, flashed by router with the 3rd party firmware and got up an running in a couple of hours. Great!

    t4thfavour, thanks for the warning. I tried port 80 and it worked. Now serving up pages! My POP3 server isn't working though - I'll spend some time working on that later this week.

    P.S. I installed LinkLogger and let it run last night. Yikes! I had no idea how many nasties were out there scanning for vulnerable systems! Fortunately, I had all patches installed and firewall properly set up before I connected my DSL modem :)
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice