DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-05-15 19:27:47

santos777
Member
Registered: 2008-01-06
Posts: 7

Connect from outside LAN

Now that we use BT on our DNS-323, wouldn't be great to connect from an outside computer, from the job our the train or whatever.

Is it possible ?

Offline

 

#2 2008-05-15 19:41:28

Megabug
Member
Registered: 2008-02-29
Posts: 14

Re: Connect from outside LAN

Sure... you have to configure your router to access it from outside! (Outside Port...) and if you don't have a static IP you need a service like dyndns!

Offline

 

#3 2008-05-15 20:10:36

HdBanger
New member
Registered: 2007-09-03
Posts: 4

Re: Connect from outside LAN

i just did my config for clutch, fun experience, and it works..

enabled dyndns in the DNS323 setup page, select a server name (eg host.dyndns.com).

if you enable port forwarding for port 80 (in the router), when you key in your server name, it'd bring you to your setup page. ie http://<your server name>/goweb/login.asp, instead of http://192.168.0.10/goweb/login.asp

setup your html files in the www/pages directory, and you can have a small simple website off the box.

for clutch, since it uses 8080, what i did was port forward via router as well. use another port for external use. eg, 8888, and configure internal port as 8080. so for http://192.168.0.10:8080/clutch/, it'd become http://<your server name>:8888/clutch/

then you'd be able to see your clutch download page.

the reason why i can't use 8080 from external instead, is because it'd clash with the remote router access, which uses 8080.

hope it helps. i'm currently tryin to ensure can i do the same for ftp, and ssh.. then it'd pretty much complete my picture.

Last edited by HdBanger (2008-05-15 20:14:33)

Offline

 

#4 2008-05-17 21:16:19

emailpr
Member
Registered: 2008-05-17
Posts: 38

Re: Connect from outside LAN

Hi, could you please explain HOW I can host a simple web page from the hdd or the dns 323? Lemme explain my situation.

You've made it clear that the port 80 is used to bring up the configuration page of the dns 323. This page is located in the web_page folder in the ROM of the dns 323. The hard drive is Volume_1... and obviously I'd want to host my custom web page from there.. How do I go about it? I am guessing I'd have to create a "web" folder under Volume_1.. and then have my web site html files etc in it.. . if so, then how do I configure the router to seek THIS PARTICULAR web folder for the contents of the Web site and NOT the default config page? I would really appreciate it if you could explain this a bit clearly.

Thank you.

Offline

 

#5 2008-05-18 02:42:24

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: Connect from outside LAN

You can even configure lighttpd so that it asks for login & password if you log in from outside your LAN, but not when you access Clutch (or whatever page) from inside your LAN:

Code:

$HTTP["remoteip"] != "192.168.178.0/24" {
        auth.require = ( "/clutch/" =>
                                (
                                    "method"  => "digest",
                           "realm"   => "Secure Area",
                           "require" => "valid-user"
                                )
                            )
}

Of course you have to replace the above IP range with your LAN's IP mask.

Offline

 

#6 2008-05-18 05:20:12

HdBanger
New member
Registered: 2007-09-03
Posts: 4

Re: Connect from outside LAN

emailpr:

i installed fun_plug, and then when installing clutch, had to create /mnt/HD_a2/www/pages. chmod make sure permissions are 755 for the directories.

then you create index.html inside there. and do a test... http://<hostname>/index.html, the page will come up.

the web, is for the admin pages. those are created by the firmware itself. to me, it's better to seperate the admin panel and the web pages in different directories.

hope it helps.

kylek:

thanks for the tip. will try that out after i reconfig clutch. had to reinstall ffp after i lost access to telnet and ssh after installing cleanboot and smartfan etc.. not sure which one caused the problem.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB