Openwrt is a Linux firmware that can transform your home wifi router in a powerful network device, with more than 2000 software packages you can have out of the box a firewall, a voip gateway, a VPN server along with many other functionalities. In this short post I’m going to explain how to enable the SSL and the SSH management on the WAN port with the latest OpenWRT firmware (Backfire 10.03.1-RC6).
Assuming your OpenWRT box have a local ip address 192.168.1.1, you can ssh into it with ssh 192.168.1.1 -l root .
Once you’ve logged in run the following commands to install the SSL support for the LuCI web interface.
opkg install luci-ssl
In the /etc/firewall.user file add the following line
iptables --append input_wan --protocol tcp --dport 443 --jump ACCEPT
Please restart the firewall, otherwise the new rule won’t take effect.
Now you are ready to log into your OpenWRT router using the htts://wanaddress .