Jump to content


squidden

Member Since 4 Apr 2012
Offline Last Active 17 Jun 2014 17:46
-----

Topics I've Started

DM800se on internet (not behind FW or router) how?

28 January 2013 - 00:31

Hi, I have a DM800se which I can't place behind a router or FW (for some reasons).
Is there a way to install a firewall inside the DM itself? Or should I shut down all open ports? (would that be enough).

I'm free to'go back to older software if it's necessary.

How would you guys do in this case?
(Please don't say that I should buy a router, I know that's the best soase I wolution but in this cnt install anything more than the box connected directly on the internet).

If anyone could point me in the right direction I would be very helpful.

Thanks in advance!

//Squidden

Find public IP address through cli

31 July 2012 - 15:50

Hi,

A have a dreambox located behind a router/fw.
The dreambox is receiving a local IP address from the DHCP server (192.168.0.x/24).

Does anyone know how I can find out my public IP address from the CLI.
There are several websites that provides this using a web browser, but I can't find how to do this from the CLI.

Shell script is not running properly / cronjob

25 May 2012 - 14:06

Hi,

I have a problem with one of my scripts. It works perfectly when I run it manually but as soon as I add it to crontab it starts a new process.
After 10 min I have 10 different processes running.

Maybe someone can point me in the right direction (I'm on OpenPLi-2.1-beta-dm800se)?

#!/bin/sh
if ps |grep -v grep |grep -c 1111:localhost ;
then
echo "SSH Tunnel... ok"
else
echo "SSH Tunnel... restarting"
/usr/bin/ssh -y -i /etc/dropbear/dropbear_rsa_host_key -f -R 1111:localhost:23 -N -R 2222:localhost:80 -N user@192.168.0.2 -p 22
fi

Crontab looks like this:

SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
*/1 * * * * /usr/sbin/check.sh

Thanks in advance!

Execute command at startup - dm800se

5 May 2012 - 22:08

Hi,

I'm trying to figure out how to execute a command at startup.
The command I'm trying to execute is:

ssh -i /etc/dropbear/dropbear_rsa_host_key -f -L port:x.x.x.x:port -N user@x.x.x.x -p port

Where should I put this line or should write a script? How would the script look like and where should I put it?


(OpenPli 2.1 beta on my dm800se. )

I tried to search for an answer in the forum but I was unable to find any good information.

Maybe you guys can help me out here?

Thanks in advance!