this post was submitted on 25 Jan 2025
27 points (93.5% liked)
networking
3386 readers
39 users here now
Community for discussing enterprise networks and the ensuing chaos that comes after inheriting or building one.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If you've got a spare router laying around; you can probably flash DDWRT, OpenWRT or similar to it, then use the wifi on it as a client-bridge. Does exactly what you asked for: connects to wifi and bridges the lan ports to that connection.
I used to do this at LAN parties almost 15 years ago. I know for sure DDWRT will do it.
I've got a spare router lying around. I'll give this a try.
Make sure to use a WDS bridge if supported, rather than some workaround DD-WRT offers, or putting everything behind yet another NAT and separate network.
WDS is what DDWRT uses for wifi client bridging. (it's mentioned on the first page of the link i provided)
Except client bridge which is a sort of a workaround: https://wiki.dd-wrt.com/wiki/index.php/Client_Bridge
Ah, I see. It's been a long time since I dove into this....
OP will probably want to use plain Client Mode then. Same thing, but a bit more stable and with an extra NAT.
Not really a big deal unless you need clients on the primary network to reach the services on secondary network. Then you've just gotta be aware of the extra NAT and the port forwarding required.
Don't bother with ddwrt since it is really behind the curve.
OpenWRT is where its at but you need to proper hardware
After running DDWRT for years on my old router, I completely agree with this. The worst was googling tutorials to do something on the router and everything always referencing OpenWRT.
And you can most likely still create a VAP on it to act as WiFi extender.
I've used one as a VPN client this way. Connect to WiFi network, connect to Mullvad using Wireguard, create virtual access point and it semi-practically worked.
Semi, the WRT160NL couldn't really handle it. Especially after adding a separate guest network with another VAP. Crashing like every 3 minutes. It can realistically only act as either a WiFi client or single AP.
But that is device-dependent. This is an old trash.