Web interface

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 03:37, 9 October 2006 (edit)
Whiteboy (Talk | contribs)
(Simulation)
← Previous diff
Revision as of 03:38, 9 October 2006 (edit) (undo)
Whiteboy (Talk | contribs)
m (Interface Map (v23 SP1 Final))
Next diff →
Line 25: Line 25:
To close the web server, run the command "'' kill `cat /tmp/var/run/httpd.pid` ''" (note the backquotes) or " ''kill `cat /tmp/var/run/httpsd.pid` ''" if you ran the web server with the option ''-S'' to get secure http. To close the web server, run the command "'' kill `cat /tmp/var/run/httpd.pid` ''" (note the backquotes) or " ''kill `cat /tmp/var/run/httpsd.pid` ''" if you ran the web server with the option ''-S'' to get secure http.
-==Interface Map (v23 SP1 Final)==+==Interface Map==
*Setup *Setup
**Basic Setup **Basic Setup

Revision as of 03:38, 9 October 2006

The easiest way to configure your WRT with DD-WRT installed is through the web interface. This provides an experience much like configuring a desktop application. Advanced users may want (or need) to configure their WRT using SSH or Telnet. Based off the old Alchemy firmware the default DD-WRT web interface is one of the most elegantly designed and easily accessed for any firmware around. It supports multiple languages and interfaces. It allows you to configure every single aspect of your router, and its simple GUI, with the ability to enter you own commands and complex scripts with ease.

Contents

Accessing

The current standard interface of DD-WRT
The current standard interface of DD-WRT
  • Open a web browser
  • In the address bar, type: http://192.168.1.1 (Your router's LAN IP address. It may be different than the one list here if you changed it.)
  • Press Enter or click Go

Starting with v23 SP1, the default username is root and the default password is admin. Some earlier versions of DD-WRT did not require a username.

Depending which version of DD-WRT you're running and depending how you've configured it, you may be able to see a status page without entering your username and password, a handy little feature that poses a small security issue for open networks. Intruders probably won't be able to access your network from this status page but they will have more information about your router's configuration than you should be giving out.

If you're at a remote location and have access to your router through SSH or Telnet, but you'd like to enable remote web access, you may use the following command to allow access from one remote IP address:

iptables -I INPUT -p tcp -s <remote_location_ip> --dport 80 -j ACCEPT

This temporary Remote Web Access will be disabled again when the router reboots (unless you turned Remote Administration on from the settings in the web interface).

Note: In the final release of v23, you can't prevent wireless access to the web interface without also preventing wired access to it. I don't know if it's a bug or if it's by design.

Regaining Access

If for some reason you completely lose web access to the router, the web server (HTTP daemon) may be shut down. To regain access try starting the web server. SSH or Telnet into the router and enter the following commands:
cd /www/
httpd
To connect through secure http, add the option -S at the end of the command. See the httpd man pages for more information about that command.

You can use this feature to get a more secure router by activating the web interface only when you need to configure it, and then closing the web server once you're done.
To close the web server, run the command " kill `cat /tmp/var/run/httpd.pid` " (note the backquotes) or " kill `cat /tmp/var/run/httpsd.pid` " if you ran the web server with the option -S to get secure http.

Interface Map

  • Setup
    • Basic Setup
    • DDNS
    • MAC Address Clone
    • Advanced Routing
    • VLANs
  • Wireless
    • Basic Settings
    • RADIUS
    • Wireless Security
    • MAC Filter
    • Advanced Settings
    • WDS
  • Security
    • Firewall
    • VPN
  • Access Restrictions
    • Internet Access
  • Applications and Gaming
    • Port Range Forwarding
    • Port Forwarding
    • Port Triggering
    • UPnP
    • DMZ
    • QOS
  • Administration
    • Management
    • Hotspot
    • Services
    • Keep Alive
    • Log
    • Diagnostics
    • WOL
    • Factory Defaults
    • Firmware Upgrade
    • Backup
  • Status
    • Router
    • LAN
    • Wireless
    • Sys-Info

Simulation

The old Alchemy interface of DD-WRT v22
The old Alchemy interface of DD-WRT v22

A setup simulation of the current DD-WRT interface is here.
The old Alchemy firmware interface simulation is here.