From b7459cfee3c14b6a96e1b9248487ddb595a026b7 Mon Sep 17 00:00:00 2001 From: dennisdebel Date: Sat, 16 Aug 2014 22:19:40 +0200 Subject: [PATCH] added instructions for remote ssh access --- README.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/README.md b/README.md index 30bf310..b488936 100644 --- a/README.md +++ b/README.md @@ -354,3 +354,44 @@ This creates a symlink in `/etc/rc.d` with the boot order number prefix you prov ```$ /etc/init.d/meshenger stop``` That's all, reboot and see if it works ( `$ ps | grep python` )! + + + +### SSH Access from Internet (wan) + +If you want, you can hook your box up to the internet and manage it remotely. This is not in the scope of this project but I'll share the steps with you: + +#### Configure your firewall + + +``` +$ vi /etc/config/firewall + + +config 'rule' + option 'src' 'wan' + option 'dest_port' '22' + option 'target' 'ACCEPT' + option 'proto' 'tcp' + + +$ /etc/init.d/firewall restart + +``` + +#### Configure open ssh service + +Add the line below in your dropbear config + +``` +$ vi /etc/config/dropbear + + +option 'GatewayPorts' 'on' + + +$ /etc/init.d/dropbear restart + +``` +Now you can acces your router, via ssh, from the internet. +Next up, http access from the internet!