Forums

Home Forums Troubleshooting Can't log into luci Reply To: Can't log into luci

Reply To: Can't log into luci

#3327
BashDashovi
Participant

I’m not sure if what I did qualifies as port forwarding, I’m allowing tcp on port 80 from the WAN so that I can configure the router from its WAN (all still in my home’s LAN).

Here are the commands I ran after sshing in:

(NOTE: For those who come across this: DO NOT DO THIS UNLESS YOU REALLY KNOW WHAT YOU ARE DOING! This creates a huge security hole in most circumstances!)
uci add firewall rule
uci set firewall.@rule[-1].src=wan
uci set firewall.@rule[-1].target=ACCEPT
uci set firewall.@rule[-1].proto=tcp
uci set firewall.@rule[-1].dest_port=80
uci commit firewall
/etc/init.d/firewall restart

  • This reply was modified 5 years, 6 months ago by BashDashovi.