OpenWrt news, tools, tips and discussion. Related projects, such as DD-WRT, Tomato and OpenSAN, are also on-topic.
How to make all traffic from a SSID go though VPN?
Sort by:
Best
Open comment sort options
Best
Top
New
Controversial
Old
Q&A
My knowledge is horribly limited, but something like making the SSID use a separate vlan, and route the traffic from that vlan through the VPN interface.
Small info, but maybe enough keywords to start searching for specifics.
This is exactly how I do it.
I have a separate subnet that gw through a VPN service and that VLAN is associated with the specific SSID.
Remindme! 16 hrs
I've done this before, living in Japan. I had an SSID for plain JP internet and another for US VPN (NordVNP via OpenVPN). I'll try to find the documentation or step-by-step I made...
I will be messaging you in 16 hours on 2022-12-10 16:49:08 UTC to remind you of this link
CLICK THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
Pretty sure this will work:Create a new interface in LuCI. Don't assign it a device.On the wireless screen, assign the new interface to one of your AP's.On the Firewall - Zone Settings screen, create a new zone. Select the new interface you created under "Covered Networks". Select only the VPN interface in the "Allow forward to destination zones" field.Someone correct me if this is wrong.Much better tutorial: https://www.gastonotero.com/blog/creating-a-vpn-only-lan-in-openwrt
!RemindMe 10 days
I will be messaging you in 10 days on 2022-12-20 17:33:45 UTC to remind you of this link
CLICK THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
hey, couldnt find my step-by-step, but i found a how-to by NordVPN to set up a vpn. just add an additional vlan, an interface and IP subnet to it, then point that vlan to the vpn. https://support.nordvpn.com/Connectivity/Router/1047411192/OpenWRT-CI-setup-with-NordVPN.htm