I have a wireless router (router1) running DD-WRT that is connected to my ADSL modem. It is assigning DHCP addresses on my home network.

I also have a second router (router2) running OpenWRT that I use to extend the signal. It is setup as a client and takes a static ip on the wifi network of router1. When I'm connected to router1, I can ping Router2, but I am unable to access the config page of router2 unless I am connected directly to router2's network.

I assume it's a setting that needs to be changed on router2 to make the config page accessible from it's "wan", but does anyone know specifically what setting I should be changing in the OpenWRT settings of router2?

Unfortunately I can't avoid the problem by using WDS to make the two routers appear as the same network because the two routers have different chipsets.


Add a firewall rule on OpenWrt to allow traffic to LuCI's IP, however, you want to ensure uhttpd is running with an SSL cert and that it's auto-redirecting port 80 to port 443

  • /etc/config/uhttpd

    config uhttpd 'lan'
        list    listen_http     ''
        list    listen_https    ''
        option  cert            '/etc/ssl/uhttpd.crt'
        option  key             '/etc/ssl/uhttpd.key'
        option  redirect_https  '1' 

  • /etc/config/firewall

    config redirect
        option  target          'DNAT'
        option  family          'ipv4'
        option  proto           'tcp'
        option  src             'wan'
        option  src_dport       '443'
        option  dest            'lan'
        option  dest_ip         ''
        option  dest_port       '443'
        option  name            'Redirect WAN -> LuCI (TCP:443)'
    • If encountering traffic issues for downstream devices, change the port uhttpd is running on to something other than 443 (i.e 10443)
    • If security is a concern with forwarding from the DD-WRT network(s) to OpenWrt, then don't utilize a firewall redirect, but instead, access LuCI via SSH by adding a port forward tunnel for the SSH connection
      • For example, in PuTTY: Connection > SSH > Tunnels - Forwarded Ports:
        • Source Port (arbitrary local port): 20443
        • Destination: localhost:443 ||
      • Access LuCI by navigating to https://localhost:20443 ||

Even if you could do this, you would reduce the security of the router with OpenWRT in doing so. You are much better off configuring OpenWRT locally while connected directly to the router - preferably with a direct wired connection.

  • 1
    Sorry, this is irrelevant and doesn't answer my question. It would decrease the security of the OpenWRT router only to the level of security on the DD-WRT router, which I'm happy with (WPA2/AES), as the DD-WRT router is the pseudo-WAN of the OpenWRT router. – localhost Oct 10 '16 at 0:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.