I am using Luci to manage my OpenWrt router. Being a newbie, I only know very basic commands in SSH (like opkg), so I need some help.
I have a password set on my OpenWrt router, but I do not want to take the chance that a hacker could brute force my password, so I want to make sure all forms of remote access are completely disabled.
OpenWrt's HOWTO (http://wiki.openwrt.org/doc/howto/secure.access) suggests doing this by:
1. Not offer access from the Internet at all, or allow only from certain IP addresses or IP-address ranges
A. by make the ssh-server dropbear and the Web-Server uhttpd not listen on the external Ethernet port
B. by blocking incoming connections to those ports (tcp 22, 80 and 443) in your firewall
Since I'm a total newbie to OpenWrt, I'm not sure how to do this. (How can I not offer access from the Internet at all?) I didn't know how to configure dropbear to not offer any Internet access, so I did this in SSL:
opkg remove dropbear
Does this solve my problem? Is there an alternative? I'm afraid to remove uhttpd because I'm not sure what it does.
I also want to block incoming connections to the ports 22, 80, and 443 in my firewall. Do the default traffic rules in Luci already do this, or do I have to add explicit block rules?
Please let me know if I'm omitting anything. I don't need any kind of remote access, and I just want to turn it off completely.
(Last edited by onewhoprowls on 23 Mar 2013, 05:18)
