OpenWrt

520 readers
1 users here now

OpenWrt news, tools, tips and discussion. Related projects, such as DD-WRT, Tomato and OpenSAN, are also on-topic.

Rules

  1. Stay on topic: All posts should be related to OpenWrt and related projects, including DD-WRT, Tomato, OpenSAN, and more!

  2. No offensive or low-effort content: Don't post offensive or unhelpful content. Be nice - keep it civil and friendly!

  3. Describe images/videos, no memes: Please include a text description when sharing images or videos.

  4. No self-promotion spam: Active community members can post their apps if they answer any questions in the comments. Please do not post links to your own website, YouTube, blog content, or communities.

  5. No reposts or rehosted content: Share only the original source of an article, unless it's not available in English, behind a paywall or requires logging in (like Twitter). Avoid reposting the same topic from other sources.

  6. No editorializing titles: You can add the author or website's name if helpful, but keep article titles unchanged.

  7. No piracy: Do not share links or direct people to pirated content.

  8. No unauthorized polls, bots, or giveaways: Do not create polls, use bots, or organize giveaways without first contacting mods for approval.

  9. No affiliate links: Posting affiliate links is not allowed.

founded 2 years ago
MODERATORS
1
 
 

- I am looking for anyone who is using OpenWrt with Orange or Jazztel Spain who might be able to help me figure out why after changing my router I can't get an Ipv6 allocated to my connection. #openwrt #Jazztel #orange #ipv6 #spain - I'd really appreciate any boosts to followers in spain who might be able to help - Its driving me nuts!

Estoy buscando por alguien que usa Openwrt con Jaztell o Orange España que peude ayudarme porque despues del le cambio el router no le puede obtiner un numero IPv6. Estoy loco porque no pude entiender por que no se funciona. Me gustaria mucho si puede me recomiendes alguien con que hablar y hacer boosts para compatir con otra gente de españa.

2
2
submitted 1 month ago* (last edited 1 month ago) by rmuk@feddit.uk to c/openwrt
 
 

Hi all. Thanks for checking in. I've been looking at Routing Rules and Routes to try and solve a couple of problems but I keep screwing up and taking down my whole network (and I've never been more grateful for serial ports).

What I'm trying to do is use different WAN connections for different VLANs/subnets. To begin with, I would like to route my general-purpose subnet (VLAN104) WAN traffic over a Proton Wireguard VPN while leaving all my other subnets using my standard ISP connection. Afterwards, I'd like to additionally route a subnet I use to give my neighbour Internet access (VLAN102) over a different Proton Wireguard VPN. Annoyingly, both the Wireguard VPN connections use the same private IP addresses though I suspect that won't actually matter that much in practise.

I starting to suspect I'm barking up the wrong tree trying to use Routing Rules but I'd appreciate any advice.

3
 
 

- I think it was when I replaced my router with a new #BananapiR3 but my #openwrt v24 router has lost its #ipv6 connectivity from #Jazztel #fibre and I can't figure out why. - I have vague memories of something blocking it in the past (or did it just work when I connected it - I can't remember) but its annoying me now I have #hetzner #ddns running.

4
 
 

Best Router device for openwrt 2025

I am completely new to OpenWRT/Pi-hole and need a recommendation for a device that could run OpenWRT/Pi-hole on it to replace my current router. I'm not even sure if I used the correct wording in this sentence, lol.

I have checked:

I need recommendations for devices to get some hands-on experience. And please explain the advantages of the devices you recommend a bit. There are indeed a lot of options listed on the internet, but not enough reasons are provided.

  • I need Pi-hole because I want local DNS, but I guess OpenWRT could do the job as well.
  • My current router does not support changing the DNS server.
  • I need a simple substitute.
  • I need good performance because it might need to connect to about 15 devices (though I have no idea what good performance means in terms of a router).
  • So I guess a device with at least 256MB of RAM is needed.
  • No limitation on price as long as it is not excessively expensive.
  • Users should consider multi-core, ARM-based (or x86_64/AMD64) devices for mid-range and higher applications. (From https://openwrt.org/toh/recommended/_routers)

Thanks for your help in advance!

5
6
 
 

- I really appreciate the OpenWrt forum but also like using an ActivityPub based account to browse posts on topics I am interested in.

I understand that forum OpenWrt uses Discourse which has some capabilities to integrate with activityPub services and have suggested in the forum that they are used but there doesn't seem to be much enthusiasm to do so.

Im probably not good at promoting the benefits or addressing points of concern.

What are people's thoughts?

7
 
 

Oh, @mikrotik RB5009/L009 will get some nice competition

@openwrt plans to introduce "OpenWRT Two" (by GL.iNet) for a targeted price of 250$ in late '25

- MT7988 cpu
- 1x 10G SFP
- 1x 5G copper
- 4x 2.5G copper
- 1-2x port 1G copper
- Tri-band Wi-Fi 7

https://openwrt.org/voting/2025-02-12-openwrt-two

8
9
10
 
 

Im considering purchasing a Banana Pi OpenWRT router.

My previous devices have all had internal aerials but this device has four connectors.

Knowing almost nothing about Wifi 6 and aerials How feasible is it to run extensions from one or more of those aerials out the wall of our house and use a larger uni or directional aerial to extend coverage in a particular direction from a high point or should you always have the same short aerials that come with the router?

11
 
 

Hello! I have a repeater setup that has been doing this for a long time, across different builds. I'm pretty confused as to why. is this due to a DHCP drop, or a radio problem? the system log doesn't give me much info besides just saying "link has connectivity loss" before dropping. if anyone might know what's going on, I'll post my system logs and any other info needed, as requested.

Thanks!

12
13
14
15
 
 

Asking for a friend - Because I have similar ideas - AP/router hardware recommendations for RV

I'm looking for hardware recommendations for the depicted setup, with an AP/router running OpenWRT in an RV. Requirements:

  • Compact footprint: Very small equipment cabinet in RV.
  • Stable (unattended connectivity with light traffic for months).
  • Dual radios to support simultaneous WIFI uplink to Internet gw, as well as acting as a WIFI AP to clients.
  • 802.11ac or better WIFI speeds.
  • 1 Gbps or better Ethernet ports (at least two).
  • Light traffic over Wireguard link to home base (telemetry).
  • Low power usage preferred, 5V or 12V power supply preferred (available without shore power).

Any ideas? Thanks!

My thought was to also add a Starlink Connection using ethernet adapter for when no wifi or Mobile signal is a available and montior the bus with HomeAssistant for security and power management.

16
 
 

With so many devices implementing there own proprietary standards it is nice to have a way to have something open and standard

17
 
 

Unfortunately, a Linksys E8450 of mine has succumbed to the OKOD (OpenWRT Kiss of Death) (in case you are unfamiliar). From what I understand, it should be recoverable from it's current effectively bricked state. I've tried going through the process, but I haven't had too much luck, and I'm somewhat stuck at the moment, so I would appreciate some guidance. There's two potential objectives that I am hoping to acheive: the first, and primary, objective is to simply recover the router from its currently bricked state so that it can be used like normal, and secondly, if possible, recover the data, and configuration that was on it.

I have tried following this guide, but I'm not sure what I am supposed to do at the end. I completed the last step, but the router still isn't able to boot on its own. If I run boot from the U-Boot console, it appears to be able to boot into the OpenWRT CLI, but if I then reboot from that CLI, it shows the following error:

F0: 102B 0000
F6: 0000 0000
V0: 0000 0000 [0001]
00: 0000 0000
BP: 0400 0041 [0000]
G0: 1190 0000
T0: 0000 02D7 [000F]
Jump to BL

NOTICE:  BL2: v2.9(release):OpenWrt v2023-07-24-00ac6db3-2 (mt7622-snand-1ddr)
NOTICE:  BL2: Built : 21:45:35, Oct  9 2023
NOTICE:  CPU: MT7622
NOTICE:  WDT: [40000000] Software reset (reboot)
NOTICE:  SPI-NAND: FM35Q1GA (128MB)
ERROR:   BL2: Failed to load image id 3 (-2)

That same error is what shows when I watch the serial output of the router while it boots from the power switch.

18
 
 

My Linksys E8450 has succumbed to the OKOD (OpenWRT Kiss of Death). In case you are unaware, the OKOD essentially is the E8450 spontaneously dying. loss of power, or a reboot can lead to it completely dying — the lights don't come on, and it is essentially bricked. Afaik, it is currently unknown exactly what causes it.

Anyways, it may be possible to recover, and I am currently working on that, but should I not be able to recover it, I will need to purchase a new router. To that end, I am looking for recommendations for a new router that is equal to, or better than the Linksys E8450 (it must be well supported by OpenWRT).

I may just buy another E8450, but I am curious if there is a better alternative.

19
 
 

I've noticed a few prosumer type devices are now on the market.

20
 
 

In the instructions it starts "The Outdoor, Wall, EAP225 v3, and later models can be installed via the web interface after disabling FW." - Can I check what FW refers to? I dont want to muck this up.

21
5
submitted 1 year ago* (last edited 1 year ago) by Varcour@lemm.ee to c/openwrt
 
 

Hello everyone!

I'm trying to set up wireguard on my phone to access hosts in my LAN and the internet through my router.
I managed to set up wireguard on both ends and get the handshake working, but that's it. I can't ping any hosts in my LAN nor on the WAN.

I created a firewall rule to forward traffic from wg to the lan.
And changed the lan one to allow forwards from wg as well as allow forwards (so it can route the traffic to the wan)
https://imgur.com/a/b7yE0ul

So far no luck. Any ideas?

22
 
 

Hi!

Can anyone please help me to make my MAC be randomly generated after each reboot?

I need some kind of script or instructions. Thanks you!

Found this one:

#!/bin/sh

INSTALL_PATH="/etc/init.d/randomize_mac"

echo "Creating MAC randomizer script..."
cat << 'EOF' > $INSTALL_PATH
#!/bin/sh /etc/rc.common

START=99

start() {
    generate_random_mac() {
        echo $(printf '%02x' $((RANDOM%256)))":"$(printf '%02x' $((RANDOM%256)))":"$(printf '%02x' $((RANDOM%256)))":"$(printf '%02x' $((RANDOM%256)))":"$(printf '%02x' $((RANDOM%256)))":"$(printf '%02x' $((RANDOM%256)))
    }

    change_mac() {
        local iface=$1
        local new_mac=$(generate_random_mac)
        ip link set dev $iface down
        ip link set dev $iface address $new_mac
        ip link set dev $iface up
    }

    for iface in $(ip link show | grep -E '^[0-9]+:' | cut -d ':' -f 2 | cut -d ' ' -f 2); do
        if [ "$iface" != "lo" ]; then
            change_mac $iface
        fi
    done
}
EOF

echo "Making MAC randomizer script executable..."
chmod +x $INSTALL_PATH
echo "Success!"

echo "Enabling MAC randomizer script to run at boot time..."
/etc/init.d/randomize_mac enable
echo "Success!"

echo "Deleting installation script..."
rm -- "$0"

Here is example of output of this command:

echo $(printf '%02x' $((RANDOM%256)))":"$(printf '%02x' $((RANDOM%256)))":"$(printf '%02x' $((RANDOM%256)))":"$(printf '%02x' $((RANDOM%256)))":"$(printf '%02x' $((RANDOM%256)))":"$(printf '%02x' $((RANDOM%256)))

Output:

a7:03:f2:fa:45:5d

23
 
 

I need to make my router Admin panel be accessible not by HTTPS and block HTTP.

I am using Mudi v2

Chat gpt prompted to generate custom CA:


#!/bin/sh
openssl genrsa -out ca.key 4096
openssl req -new -x509 -days 36500 -key ca.key -out ca.crt -subj "/C=XX/ST=XX/L=XX/O=Example/OU=CA/CN=ca.example.lan"
openssl genrsa -out router.lan.key 4096
openssl req -new -key router.lan.key -out router.lan.csr -subj "/C=XX/ST=XX/L=XX/O=Example/OU=Devices/CN=router.lan"
openssl x509 -req -days 36500 -in router.lan.csr -CA ca.crt -CAkey ca.key -CAcreateserial -out router.lan.crt
echo "CA and signed router.lan certificate generated in current directory"

It will generate certificates and key. What to do next?

24
 
 

I'm looking at buying a couple of EAP 225s to provide outdoor coverage for two houuses about 15 meters apart - But I haven't been able to confirm how much memory or The CPU it uses to determine if it would meet my needs. I'm looking to run a few Wireguard connections to route traffic through some other gateways as well as proving WAN access for approx five people. Would want to provide captive portals for visitors and some age related content filtering of Internet access for selected devices.

25
 
 

I'm new to Proxmox and have had Openwrt on an AP router for a while, but still am not all that good at it.

I followed a YouTube video yesterday to set up Openwrt as a Proxmox device. The idea being that I can patch all my containers through it and have a single IP address and many ports associated with it on my home lan.

But I'm also trying to get Mullvad VPN installed on it. When I've followed the instructions to install Mullvad I can no longer ping the outside world. If there's any pointers to getting that going I'd be grateful. I followed the instructions on their website.

Questions: if I get Mullvad working is there a way for me to route some containers through that and others through my own IP, or do I need 2 openwrt containers to get this? I noticed that during the setup I removed the WAN from the LAN and just left Mullvad as an exit route, so I assume I would need a second LAN with the WAN for me to be able to route via it. If that is the case, can I route some through one LAN and some through a second?

view more: next ›