Remote access

Probabil ca majoritatea dintre voi doriti sa va accesati routerul distant de la servici sau aiurea.
Pentru a securiza cu SSL urmati micul tutorial de mai jos:

BusyBox v1.15.3 (2010-04-06 04:14:37 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
Backfire (10.03, r20728) --------------------------
* 1/3 shot Kahlua In a shot glass, layer Kahlua
* 1/3 shot Bailey's on the bottom, then Bailey's,
* 1/3 shot Vodka then Vodka.
---------------------------------------------------
root@balaur:~#
root@balaur:~#
root@balaur:~#
root@balaur:~#
root@balaur:~# opkg update
Downloading http://downloads.openwrt.org/backfire/1 ... ackages.gz.
Inflating http://downloads.openwrt.org/backfire/1 ... ackages.gz.
Updated list of available packages in /var/opkg-lists/packages.

Instalati suportul de ssl pentru OpenWrt

root@balaur:~# opkg install luci-ssl

root@balaur:~# ls /etc/config/
ddns dhcp dropbear firewall luci network system ucitrack uhttpd wireless

Editati fisierul de configurare uhttpd si comentati linia marcata de mine cu rosu.

root@balaur:~# vi /etc/config/uhttpd

# Server configuration
config uhttpd main

# HTTP listen addresses, multiple allowed
# list listen_http 0.0.0.0:80
# list listen_http [::]:80

# HTTPS listen addresses, multiple allowed
list listen_https 0.0.0.0:443
# list listen_https [::]:443

# Server document root
option home /www

...........................

Restartati serverul de http
root@balaur:~# /etc/init.d/uhttpd restart

Acum puteti accesa interfata grafica cu SSL.

SURSA: http://www.elforum.ro/viewtopic.php?f=73&t=59878&start=105

0 comentarii:

Trimiteți un comentariu