Skip to main content How to make all traffic from a SSID go though VPN? : r/openwrt
Go to openwrt
•

How to make all traffic from a SSID go though VPN?

Say goodbye to generic email blasts. With Streak Mail Merge, send personalized mass emails right inside Gmail. Track responses and send automated follow-ups like a boss!
Thumbnail image: Say goodbye to generic email blasts. With Streak Mail Merge, send personalized mass emails right inside Gmail. Track responses and send automated follow-ups like a boss!
Sort by:
Best
Open comment sort options

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.

More replies
More replies

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.


Info Custom Your Reminders Feedback
More replies
• • Edited

Pretty sure this will work:

  1. Create a new interface in LuCI. Don't assign it a device.

  2. On the wireless screen, assign the new interface to one of your AP's.

  3. 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.


Info Custom Your Reminders Feedback
More replies

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