OpenWRT – First Setup

This article describes the first setup of an OpenWRT after the OS got flashed.


Go to all articles of this series and the description of the test setup:

Test Setup
Test Setup

OpenWRT – Overview


Connect a LAN cable to eth1 of the OpenWRT device and login via LuCi.

The OpenWRT got flashed on the AVM FRITZ!Box 4040 already. A detailed description is available on the official website:

https://openwrt.org/toh/avm/avm_fritz_box_4040

Open the address in you web browser

http://openwrt.lan

Login credentials are by default :

  • User name: root
  • Password: no password set! Right after the successful set a new password for root user

Set a new password immediately after your first login

System - Administration - Router Password

Use another browser and try to login with your new credentials.

The IP address is by default 192.168.1.1 (= openwrt.lan). DHCP server is enabled and the connected client will get assigned an IP address within this IP range.

OpenWRT - First Setup
OpenWRT – First Setup

When you are able to login to OpenWRT with your new password connect the AVM FRITZ!Box 4040 to your local lan. Plug a cable into port WAN.

Your DHCP server of your router will assign a new IP address to OpenWRT.

OpenWRT - First Setup
OpenWRT – First Setup

Gib mir gerne einen Kaffee ☕ aus!

Wenn dir meine Beiträge gefallen und geholfen haben, dann kannst du mir gerne einen Kaffee ☕ ausgeben.

PayPal Logo


liberapay.com/strobelstefan.de


Kaffee via Bitcoin

bc1qfuz93hw2fhdvfuxf6mlxlk8zdadvnktppkzqzj


After these few steps you can start with the configuration of your OpenWRT device.

Reconnect your client to your local network and login to LuCi using the IP address that got assigned to interface WAN by DHCP server of your router.

To access the OpenWRT device from your local network you have to change the Firewall - Zone Settings for wan.

This is only relevant when you have devices in your main routers network that should get access to OpenWRT. If you connect all your devices to the OpenWRT’s lan then leave it as it is.

OpenWRT - First Setup
OpenWRT – First Setup

Otherwise change the Input to accept

OpenWRT - First Setup
OpenWRT – First Setup

See all articles of this series …

stefanstrobel - Logo

… on strobelstefan.de
Overview of all OpenWRT Articles/

© Logo material is licensed under CC0 Codeberg and the Codeberg Logo are trademarks of Codeberg e.V

… on codeberg.org
see manual on codeberg.org


Gib mir gerne einen Kaffee ☕ aus!

Wenn dir meine Beiträge gefallen und geholfen haben, dann kannst du mir gerne einen Kaffee ☕ ausgeben.

PayPal Logo


liberapay.com/strobelstefan.de


Kaffee via Bitcoin

bc1qfuz93hw2fhdvfuxf6mlxlk8zdadvnktppkzqzj


Source:
– https://openwrt.org/
– Official OpenWRT Logo – https://openwrt.org/_media/docs/guide-graphic-designer/openwrt-logo-usage-guidelines.pdf

2 Antworten auf „OpenWRT – First Setup“

  1. Hi Stefan,

    du musst den WAN Port unter FIREWALL > GENERALL > ZONES > WAN > INPUT Traffic Rules < erstellen.

    Z.B erlaube Zugriff auf Luci über WAN (Port 80:)
    ################################################
    Name: Allow_Luci_from_WAN
    Match: Incoming IPv4, protocol TCP From wan To this device, port 80
    Action: Accept input
    ################################################

    Du kannst die obere Traffice Rule auch noch weiter einschränken und z.b auf nur ein Gerät (IP-Adresse des Client von deiner Fritzbox ohne Openwrt) Begrenzen:

    ################################################
    Name: Allow_Luci_from_WAN_Client
    Match: Incoming IPv4, protocol TCP From wan, IP To this device, port 80
    Action: Accept input
    ################################################

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert