I am new to OpenWRT, and I have been struggling with a basic setup. Some help with my config problem would be much appreciated.
I am running a Pi3. I have two wifi radios, one connects to my home network (RNetA, interface name wwan) and connects fine. It is in the wan firewall zone. The second (SSID = RNetB) is in the bridged lan, in the lan firewall zone.
I do have ethernet ports also, but not used in this config (at least at the moment).
I have the firewall set to accept, accept, accept for both wan and lan zones, to aid faulting. OpenWRT sits behind my home router, so no security concern.
IPv4 Masquerading is ticked for lan=>wan. I don't need it on this interface, but I will later.
I have mwan3 installed, and that appears to be fine too. It shows my wwan interface up.
When I test from the Luci interface in MultiWAN Manager - Diagnostics, I can ping the tracking IP (1.0.0.1) fine.
I can connect fine to RNetB, obtain IP from the OpenWRT DHCP server, which has the DG of the Pi (192.168.9.1), and DNS ok (8.8.8.8). I cannot access the internet.
The Pi is a lab/concept machine. I am using it as it's spare. I understand the throughput etc. is suboptimal. If I get on with OpenWRT, I'll buy a suitable device.
I will have two wan interfaces PPPoE over fibre and backup 5G over WiFi (using mwan3).
I will have OpenVPN tunnels to my parents' house (for backup) also running OpenWRT. I will also want to [Open]VPN from my laptop when out and about.
Hi yes, dns is allocated by the DHCP server on the OpenWRT.
I tried with "br-lan" and "eth0" in the lan zone. br-lan doesn't allocate an IP. eth0 does and it includes a dns server.
You just want a repeater. You do not need a firewall.
Put everything in the LAN (both radios) bridge. Now you have two radios on the same subnet and just make one the AP and the other the client. They will just look at the switch as a common interface. The interface will tie it together.
Hi thanks for your help. No, I don't want a repeater.
I want eth0 and Radio0 (ssid: RNetB) in a bridged LAN. I also want two WAN ports, one using eth1 (with PPPoE) to my broadband provider. The second WAN port is radio1 (wwan), which at the moment connects to my home network (ssid: RNetA).
All I am trying to achieve at the moment is getting my pc connected to RNetB to access the internet via Radio 1 (wwan).
I recently tried OpenWrt on my Pi4B and had a similar experience to yours.
Suppose that the address assigned by RnetA to wwan is 192.168.61.18/24.
Network > DNS > Forwards
DNS Forwards 192.168.61.1
Save & Apply
router restart
Set the PC or smartphone connected to RnetB or eth0 to automatic (DHCP).
In my case, this connects me to the internet.
Thanks, I did have 8.8.8.8 in there, I must have borrowed it from a tutorial. While looking at that I did find a config error in mwan3. I now have it in a mostly working state. Some sites like the BBC error "ERR_NETWORK_CHANGED". I have disabled IPv6 and put various dns servers in (as suggested by other posts and AI).
I have done a fresh build with all interfaces working but not yet installed mwan3. I will go play with OpenVPN and come back to mwan3 later.
Thanks