Hey all! I'm somewhat experienced, but no means a power user, and found myself struggling to achieve a set-up using the latest OpenWRT (25.12.4) on a modern, sufficiently powerful and fully supported router.
In short, I'm looking to set up two separate Wi-Fi networks on the same router, one of which routes directly via the ISP, and another one that routes via a VPN through the router itself (the router acts as a VPN client for a VPN provider, basically, forwarding its VPN connection via the designated Wi-Fi network to Wi-Fi clients that connect to it).
The following things are necessary for this, beyond the obvious stuff:
- The router's VPN connection must be fully "autostart" (turns on by itself after router start/reboot without any specific user action)
- The VPN connection must be obfuscated with v2ray (VPN provider supported, and unobfuscated WG VPN connections do not work in my network environment)
- The VPN connection must have a "killswitch", stopping all traffic if the VPN connection dies or is otherwise inactive for any reason
- The two Wi-Fi networks, one clear and one with the VPN, must co-exist peacefully
- The VPN connection must not interfere with any traffic not on that designated Wi-Fi network in any way
I tried setting this up, including with PBR and stuff like that per other posts on this forum, but ran into plenty of different issues I'm not entirely sure how to solve. On several occasions I got the two Wi-Fi networks set up and operating simultaneously, but I couldn't figure out how to only have one of them routing through the VPN connection.
What I'm looking for here from someone gracious enough is a clear, step-by-step guide ("for dummies" style heh) on how to achieve this kind of setup. I have everything I need from the VPN provider, including WG keys and such; it's actually making it all work together that is the problem. Ideally your solution should not require PBR, as I've found it to be weirdly unreliable for unknown reasons in some aspects, but if that's the only way then I'll make do with it.
I'll be sure to reply quickly in case there are any questions, too. Thank you!