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-08-13 09:38:08

villeov
New member
Registered: 2008-08-13
Posts: 4

Remote setup of DNS-323

Is it possible somehow to connect to the DNS-323 web-based config page from internet? Would like to ad some BT downloads to DNS-323 from internet...

Last edited by villeov (2008-08-13 09:41:57)

Offline

 

#2 2008-08-13 12:04:28

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Remote setup of DNS-323

When you've got an ssh deamon running which is accessable from outside, you can. Using Linux you connect to your box:
ssh -R 80:127.0.0.1:80 username@ipaddress
This will redirect port 80 on your computer to port 80 on your DNS-323. So just open localhost in your browser.

With Windows you can use Putty. Login to your DNS-323, rightclick on the titlebar of putty, choose 'change settings', goto Connection->SSH->Tunnels, 'Source port'->80, Destination->127.0.0.1:80, Add, Apply.

Offline

 

#3 2008-08-13 14:24:56

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: Remote setup of DNS-323

villeov wrote:

Is it possible somehow to connect to the DNS-323 web-based config page from internet?

First of all you need to know your WAN (Internet) IP. This is true for all kind of connections you want to make from "the outside world" to you home (LAN). Secondly, set up a port forward in your router. Pick an incoming port, say 8500 and forward that to your DNS's LAN IP (e.g. 192.168.1.130) and port 80. Now you can access the web interface at http://<your WAN IP or domain name>:8500

Last edited by vedeja (2008-08-13 14:25:49)


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#4 2008-08-13 14:30:13

villeov
New member
Registered: 2008-08-13
Posts: 4

Re: Remote setup of DNS-323

Mijzelf wrote:

When you've got an ssh deamon running which is accessable from outside, you can. Using Linux you connect to your box:
ssh -R 80:127.0.0.1:80 username@ipaddress
This will redirect port 80 on your computer to port 80 on your DNS-323. So just open localhost in your browser.

With Windows you can use Putty. Login to your DNS-323, rightclick on the titlebar of putty, choose 'change settings', goto Connection->SSH->Tunnels, 'Source port'->80, Destination->127.0.0.1:80, Add, Apply.

Can you explain more about that Windows version. I have DNS-323 connected to Zyxel P-660HW-D1 ADSL modem at home with IP 80.222.xx.xx. DNS-323 has IP 192.168.1.34. ADSL has NAT port forwarding set to 192.168.1.34 in ports 80, 21, 23 and 443. If I set remote management on from modem (LAN & WAN) and connect from work to my home IP 80.222.xx.xx with Firefox, it goes to Zyxel management page.

Offline

 

#5 2008-08-13 14:33:50

whankin2
Member
Registered: 2008-08-11
Posts: 8

Re: Remote setup of DNS-323

I am all set with my ffp.5/lighttpd being setup and I'm able to see my index webpage from inside the network (dnsipadress::8080), but I still seem to be having trouble with the port forwarding to enable viewing from outside the network (without having to put 8080).  vedeja, any assistance you can provide is helpful, and I appreciate everyone's input on this forum. I have a dir 655 router; perhaps you can send a screenshot or something.   I'm a noobie but coming along. Thanks

Offline

 

#6 2008-08-13 14:48:42

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Remote setup of DNS-323

You can use Putty instead of Linux ssh. But you still need an ssh deamon running on your DNS-323, and to forward port 22 to the DNS-323. Use Putty to connect to 80.222.xx.xx, and it should connect to the DNS-323. By following the steps you virtually run the webserver of the DNS-323 on your own desktop.

@whankin2: Have a look here. Instead of port 80 you should use port 8080.

Offline

 

#7 2008-08-13 14:50:49

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: Remote setup of DNS-323

whankin2 wrote:

I'm able to see my index webpage from inside the network (dnsipadress::8080), but I still seem to be having trouble with the port forwarding to enable viewing from outside the network

I am sorry, I don't have the DIR-655 interface to show you but the correct forward is from port 80 --> DNS port 8080 (or whatever port defined in lighttpd)

Last edited by vedeja (2008-08-13 14:51:59)


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#8 2008-08-13 15:13:22

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: Remote setup of DNS-323

It looks like NAT is set up in the "Application Rules" page of the DIR-655.


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#9 2008-08-13 15:29:33

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: Remote setup of DNS-323

vedeja wrote:

It looks like NAT is set up in the "Application Rules" page of the DIR-655.

Would you care to explain further?

Offline

 

#10 2008-08-13 15:34:19

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: Remote setup of DNS-323

fordem wrote:

Would you care to explain further?

Well, from the manual (I don't own the unit) it looks as if the "Port Forwarding" page only allows opening a port in the router and forward that to the SAME port of an IP on the LAN. My guess is (again from images of the GUI) that network address translation is done in the dialog "Application Rules". Do you suggest differently?

I use DD-WRT myself and think port forwarding/NAT is more straightforward there.

Last edited by vedeja (2008-08-13 15:36:18)


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#11 2008-08-13 19:44:42

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: Remote setup of DNS-323

I don't think that would be referred to as network address translation, at least not in the conventional usage of the term network address translation - which is why I asked for an explanation.  More likely port translation or perhaps just port forwarding

Offline

 

#12 2008-08-13 19:47:49

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: Remote setup of DNS-323

fordem wrote:

I don't think that would be referred to as network address translation, at least not in the conventional usage of the term network address translation - which is why I asked for an explanation.  More likely port translation or perhaps just port forwarding

Sure.


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#13 2008-08-13 20:45:37

mig
Member
From: Seattle, WA
Registered: 2006-12-21
Posts: 532

Re: Remote setup of DNS-323

villeov, if you have another PC running on the LAN where the DNS-32 is connected, you
could try something like Hamachi https://secure.logmein.com/products/ham … sp?lang=en
to access that PC from the internet, then use a browser on that PC to access the DNS-323 via
the LAN.

I thought I saw some talk on this forum about running  Hamachi local on the DNS-323, but
I'm not sure if the Hamachi DNS-322 port was successful.


DNS-323 • 2x Seagate Barracuda ES 7200.10 ST3250620NS 250GB SATAII (3.0Gb/s) 7200RPM 16MB • RAID1 • FW1.03 • ext2 
Fonz's v0.3 fun_plug http://www.inreto.de/dns323/fun-plug

Offline

 

#14 2008-08-14 08:05:50

villeov
New member
Registered: 2008-08-13
Posts: 4

Re: Remote setup of DNS-323

vedeja wrote:

fordem wrote:

Would you care to explain further?

Well, from the manual (I don't own the unit) it looks as if the "Port Forwarding" page only allows opening a port in the router and forward that to the SAME port of an IP on the LAN. My guess is (again from images of the GUI) that network address translation is done in the dialog "Application Rules". Do you suggest differently?

I use DD-WRT myself and think port forwarding/NAT is more straightforward there.

I think I have that problem also with my router (Zyxel P-660HW-D1). I can only forward incoming port to a same port on LAN IP (DNS-323), not for example port 8500 to port 80. So, do I have to install that fun-plug to get this working with ssh deamon?

Offline

 

#15 2008-08-14 15:57:11

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: Remote setup of DNS-323

villeov wrote:

I think I have that problem also with my router (Zyxel P-660HW-D1). I can only forward incoming port to a same port on LAN IP (DNS-323), not for example port 8500 to port 80.

After a quick look at some images of your router's GUI I have to agree with you. I can only recommend you get another router like the WRT54GL and flash it with DD-WRT. Now, that's FULL control! As for the SSH story I can't help because I haven't tried. From your post I assume you don't have funplug right now. If you still think that is too much trouble to set up along with SSH, a new router (with the port address translation capability) is really a better way. What I mean is: why modify the DNS when it is actually the router that is the problem?

Last edited by vedeja (2008-08-14 15:58:45)


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#16 2008-08-15 03:11:41

Dlink
Member
Registered: 2007-11-21
Posts: 106

Re: Remote setup of DNS-323

FYI most of our products have emulators.

http://support.dlink.com/Emulators/dir6 … erver.html

That is where you would configure the public and private(external/internal) ports in your DIR-655. Most modem/router combos do not offer a port redirection option but instead only a straight port-port pass through.

Offline

 

#17 2008-08-15 10:41:05

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Remote setup of DNS-323

What I mean is: why modify the DNS when it is actually the router that is the problem?

Because you *can*?

I think I have that problem also with my router (Zyxel P-660HW-D1). I can only forward incoming port to a same port on LAN IP (DNS-323), not for example port 8500 to port 80. So, do I have to install that fun-plug to get this working with ssh deamon?

AFAICS you have got a least five options:
1) Switch off remote management on your router and forward port 80 to your DNS-323.
2) Put remote management on a different port and forward port 80 to your DNS-323.
3) Put the web interface of the DNS-323 on a different port (don't know how)
4) Buy a new router which supports port redirection
5) Use fun_plug to make an SSH tunnel
6) Use fun_plug to ...

Offline

 

#18 2008-08-15 11:24:44

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: Remote setup of DNS-323

Mijzelf wrote:

AFAICS you have got a least five options:
1) Switch off remote management on your router and forward port 80 to your DNS-323.
2) Put remote management on a different port and forward port 80 to your DNS-323.
3) Put the web interface of the DNS-323 on a different port (don't know how)
4) Buy a new router which supports port redirection
5) Use fun_plug to make an SSH tunnel
6) Use fun_plug to ...

Mijzelf, some very good options presented by you. I would try option 2 or 1, in that order. The Zyxel P-660HW-D1 appears to have the ability to modify the necessary remote management settings.


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

#19 2008-08-18 10:58:58

villeov
New member
Registered: 2008-08-13
Posts: 4

Re: Remote setup of DNS-323

Mijzelf wrote:

What I mean is: why modify the DNS when it is actually the router that is the problem?

Because you *can*?

I think I have that problem also with my router (Zyxel P-660HW-D1). I can only forward incoming port to a same port on LAN IP (DNS-323), not for example port 8500 to port 80. So, do I have to install that fun-plug to get this working with ssh deamon?

AFAICS you have got a least five options:
1) Switch off remote management on your router and forward port 80 to your DNS-323.
2) Put remote management on a different port and forward port 80 to your DNS-323.
3) Put the web interface of the DNS-323 on a different port (don't know how)
4) Buy a new router which supports port redirection
5) Use fun_plug to make an SSH tunnel
6) Use fun_plug to ...

Option number 2 works great, Thanks! Still have to get that ftp working, I think option 2 works there aswell...

Offline

 

#20 2008-08-18 15:59:27

vedeja
Member
Registered: 2008-02-21
Posts: 161

Re: Remote setup of DNS-323

villeov wrote:

Still have to get that ftp working, I think option 2 works there aswell...

You should manage that easily. In the case of FTP you need only to forward port 21 to your DNS LAN IP (naturally, there will be no other changes because the router will not respond on port 21 itself, since it has no FTP server.)


¤ 2 x 500 GB Samsung Spinpoint ¤ FFP 0.5 ¤ Custom fanscript ¤
¤ Lighttpd 1.4.19 ¤ Transmission 1.50 ¤ FW 1.07 ¤

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB