AVM Router Configuration

Configuration of an AVM router to reach a downstream OpenWRT device from your network:

– DynDNS
– Port Forwarding
– IPv4 settings
– IPv4 Routes


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

Test Setup
Test Setup

OpenWRT – Overview


The AVM device (= AVM FRITZ!Box 7390) is the router in the local network that establishes the internet connection to your ISP.

  • AVM FRITZ!Box 7390 = router
  • AVM FRTIZ!Box 4040 = OpenWRT

The OpenWRT (= AVM FRTIZ!Box 4040) is connected via WAN port to the AVM router.

DNS Settings

Use DNS server you trust. By default the router gets the DNS servers provided and maintained by your ISP.

AVM Router Configuration
AVM Router Configuration

List of DNS servers

ATTENTION!!!
No matter which DNS server you choose, support the provider. The server runs not only by air and love! Donations are very welcome!

ACHTUNG!!!
Egal für welchen DNS Server du dich entscheidest, unterstütze den Anbieter. Der Server läuft nicht nur von Luft und Liebe! Spenden sind immer willkommen!

DynDNS

The DynDNS configuration on the router is required to get a temporary public IP address.

AVM Router Configuration
AVM Router Configuration

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.org


Kaffee via Bitcoin

bc1qfuz93hw2fhdvfuxf6mlxlk8zdadvnktppkzqzj


Port Forward

In the port forward section you have to define the ports that shall be open in the router and forwarded to your OpenWRT device.

AVM Router Configuration
AVM Router Configuration
  • 51820 = WireGuard
  • 20.000 = custom port for a Nextcloud server
  • 80 and 443 are only open temporarily for installation and renewal of Let’s Encrypt certificates
AVM Router Configuration
AVM Router Configuration

In the screenshot you can see that the DynDNS works as expected and the IP address is assigned to the port forward rule.

Network Settings

IPv4 settings

In our network a Pi-hole is the main DNS server. It shall be provided to all devices via DHCP server.

I have decided to run a Pi-hole before the OpenWRT ad blocker because Pi-hole

  • is easy to install and configure
  • is easy to maintain
  • has a power full web GUI
  • lot of features which can be configured via web GUI in any web browser.
AVM Router Configuration
AVM Router Configuration

Enter the ip address of your Pi-hole (or any other ad blocker in the network.)

AVM Router Configuration
AVM Router Configuration

IPv4 Routes

IP routes are important if you wanna access from your local network the OpenWRT device or devices that are connected to the OpenWRT in the lan network. (keyword SSH Jump Host)

You can access from any client located in your routers network clients that are located in the OpenWRT’s lan network (192.168.200.1).

AVM Router Configuration
AVM Router Configuration

Set the routes as needed.

AVM Router Configuration
AVM Router Configuration

See all articles of this series …

stefanstrobel - Logo

… on strobelstefan.org
Overview of all OpenWRT Articles

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

… hosted on Codeberg.

https://codeberg.org/strobelstefan.org/openwrt-configuration


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.org


Kaffee via Bitcoin

bc1qfuz93hw2fhdvfuxf6mlxlk8zdadvnktppkzqzj


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

Schreibe einen Kommentar

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