Networks Linksys Port forwarding... how?

Discussion in 'Hardware' started by OneSeventeen, 16 Jul 2004.

  1. OneSeventeen

    OneSeventeen Oooh Shiny!

    Joined:
    3 Apr 2002
    Posts:
    3,454
    Likes Received:
    2
    Every single page I go to shows a wonderful amazing setup page for the linksys WRT54G wireless broadband router that has an "advanced" tab with port forwarding in it.

    Unfortunately, my screen looks nothing like it. Same color blue, same linksys logo, different everything else.

    I'm running firmware version 2.02.7, and most of the examples are for 1.0 or around there. :(

    Is this possible with newer firmware, or did they decide port forwarding wasn't a feature worth keeping? (I've been through all of the menus and submenus and haven't found anything)

    help?

    (p.s. I already have my desktop set up with a static IP, and I'm hoping to use it as a webserver, but the router is getting in the way of that.)
     
  2. OneSeventeen

    OneSeventeen Oooh Shiny!

    Joined:
    3 Apr 2002
    Posts:
    3,454
    Likes Received:
    2
    Okay, I found port forwarding, and forwarded port 80 to my webserver, and now I can't go back to the linksys config page.

    any ideas?

    (stopping apache does not really stop anything... localhost will still show php web pages on my apache server using a mysql database even with apache stopped... weird)
     
  3. Deviate

    Deviate What's a Dremel?

    Joined:
    3 Jun 2002
    Posts:
    1,515
    Likes Received:
    7
    I know for my Linksys router (BEFSR41) the only way that I can access the router setup page is from within my network using 192.168.1.1. I can't hit it from outside at all. I have my port 80 forwarded to my slackware box where I am running apache. Although I don't have any pages on there yet....one day....maybe... :D
     
  4. OneSeventeen

    OneSeventeen Oooh Shiny!

    Joined:
    3 Apr 2002
    Posts:
    3,454
    Likes Received:
    2
    well, my problem now is that since port 80 is forwarding itself over to my main rig, if I type in my router's IP, it goes to my main rig instead of the router page :(

    And in spite of me being able to type in my router's page, I still cannot access my site through the IP my ISP gave me.

    I'm really at a loss.....

    I have apache ServerName set as 192.168.1.2 (my router's IP)

    when I type in my ISP's IP, I get my DSL modem, which is what happened in the past without the router... the only difference is that before when I tried to access my IP from an outside computer, it would work fine.

    any ideas?
     
  5. Dodge

    Dodge What's a Dremel?

    Joined:
    10 Oct 2003
    Posts:
    1,184
    Likes Received:
    0
    hit the reset button on the router then type 192.168.1.1, could be under applications and gaming, thats where mine is i have a WRT54G
     
  6. Deviate

    Deviate What's a Dremel?

    Joined:
    3 Jun 2002
    Posts:
    1,515
    Likes Received:
    7
    I think for your ServerName in apache you want to put the ip of the box apache is running on inside your network. Not the router's ip. So what ends up happening is someone accesses the IP that your ISP gave you. They end up hitting your modem, which in turns goes to your router. Then your router should forward that request to the box on the network that you have the forwarding for port 80 set to...the apache box. Which you may need to set to have a static IP.

    Now when I had this all set up a debian machine, I had to play around with some IP masquerading and stuff on the server side to get it to realize that it was supposed to act as if it was the external IP. That was a while ago so I don't really remember exactly how I did all of that. Sorry.
     
  7. OneSeventeen

    OneSeventeen Oooh Shiny!

    Joined:
    3 Apr 2002
    Posts:
    3,454
    Likes Received:
    2
    well, apparently when I go to my website from here (work) I get my site!

    I guess it either just took a while to resolve, or only computers outside of my network can see it. (I used to just get my modem screen, so I was shocked that wasn't working.)
     
  8. OneSeventeen

    OneSeventeen Oooh Shiny!

    Joined:
    3 Apr 2002
    Posts:
    3,454
    Likes Received:
    2
    My problem is in order to get it to forward, it needs to forward port 80 on to my computer so when port 80 on 192.168.1.1 gets accesssed it goes to my server. The problem is, the router has a web-based setup, which means in order to maintenance my router, I go to port 80 on 192.168.1.1, which is now forwarded to my server.

    I think what I'm going to have to do is set up apache to run on some other port, reset my router, and have the other port point to my server, but port 80 still be my router's setup.... I think....
     
  9. coorz

    coorz Miffed

    Joined:
    25 Apr 2003
    Posts:
    1,382
    Likes Received:
    2
    If you really need to access your rouer's config that often from your inernal network, just unplug the apache box and temporary set your PC's IP to the apache's IP. Tiresome but you should get to the router's config then.
    Do you really need to change the router's config that often?
     
Tags:

Share This Page