Configure VPN only for WiFi Clients and not for LAN clients

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

HariSeldon0FE

New Around Here
Hey All,

I have set up a VPN connection on my router and I am trying to set it up so only wifi it will be active but not on LAN ports, any easy way to set this up?

Thanks,
Hari
 

eibgrad

Very Senior Member
I believe the YazFi script supports this capability, although it could be done by yourself w/ some basic networking knowledge.

Just beware, this usually requires removing the wireless clients (or more specifically, their network interfaces) from the default bridge (br0), so wired and wireless clients are now using different IP networks, and all communications between the wireless and wired users is now routed. Besides the normal hassle of having different clients on different networks (particularly if *only* for the purposes of segregating VPN users), it also means that network discovery doesn't work between them, not unless you restore that capability w/ an mDNS proxy (e.g., Avahi). Here again, YazFi may already enable that capability (I'm a bit unsure because I don't use YazFi personally but I know others do).

IOW, you can do it, w/ some effort, but it comes at a price. A price that some may not be willing to pay.
 
Last edited:

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top