apache and routertech-based router

Talk about anything you like here: as long as it's technical, doesn't fit into the other categories and is within the rules. Questions and discussions about operating systems, programming, websites, hosting, ADSL etc. are particularly welcome here.
Post Reply
tasso85
Experienced
Experienced
Posts: 106
Joined: Mon Mar 31, 2008 11:47 am
Location: Ferrara, Italy

apache and routertech-based router

Post by tasso85 » Sat Jun 07, 2008 8:59 pm

I have a little question: I have a D-Link DLS-624T router with routertech firmware 2.5, and I installed apache web server on my pc... now, when I activate it on port 25466 (the same I use for emule, which is correctly forwarded to my pc), and I try to connect via browser to http://my_ip_address:25466, I get an error message, while if I connect to http://localhost:25466 all goes fine...

is this normal? shouldn't it work both ways?
User avatar
Shotokan101
RouterTech Team
RouterTech Team
Posts: 4779
Joined: Thu Jan 26, 2006 3:17 pm
Location: Glasgow, Scotland

Post by Shotokan101 » Sat Jun 07, 2008 9:04 pm

What do you mean by "myipaddress" ? i this your ISP assigned IP adress or the router assigned IP address ? - the latter should work - the former not since "local loopback" is not supported on current RT f/w...
Jim

.....I'm Sorry But I Can't Do That Dave.....
tasso85
Experienced
Experienced
Posts: 106
Joined: Mon Mar 31, 2008 11:47 am
Location: Ferrara, Italy

Post by tasso85 » Sat Jun 07, 2008 9:53 pm

well, I tried with the IP address given by my ISP :D so... THIS is why it didn't work... in fact if I use the local IP address given by the router, it goes fine...

Is there a way to enable local loopback on the router, or it is just not implemented? how can I test if the server is visible from the "outside" of my network?
mstombs
RouterTech Team
RouterTech Team
Posts: 3753
Joined: Wed Jan 10, 2007 11:54 pm

Post by mstombs » Sat Jun 07, 2008 10:48 pm

There is a script command in RT2.5 to enable "WAN IP local NAT loopback", see the readme with the firmware

"localnat.sh init"

to enable, if it works for you this can be added to an RT_cmd_x nvram variable to always run. There's only one known restriction, changes you make in the web screen port forwards are not activated until the next time the WAN reconnects, or you can force an update with

"localnat.sh UP"
Last edited by mstombs on Sun Jun 08, 2008 10:37 am, edited 1 time in total.
tasso85
Experienced
Experienced
Posts: 106
Joined: Mon Mar 31, 2008 11:47 am
Location: Ferrara, Italy

Post by tasso85 » Sun Jun 08, 2008 9:43 am

Ok, thank you very much :D I'll give it a try to see if the web server works properly
Post Reply