Network adapter by user?

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
RiptideC
Level 1
Level 1
Posts: 4
Joined: Tue Jan 25, 2022 9:33 pm

Network adapter by user?

Post by RiptideC »

Hi!

I want to disable the VPN client connection for a specific user of my PC but keep the VPN available for others. Is it possible?

If I add one more network adapter... Can I "bind" it to a specific user or user group?

Or should I make some script to run at logon to disable or enable a network adapter according to the user who logs in the PC?

Sorry for the dumb questions.... :roll:
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
djph
Level 7
Level 7
Posts: 1960
Joined: Thu Jun 27, 2019 5:43 am
Location: ::1

Re: Network adapter by user?

Post by djph »

You'd need a login/logout thing for the "other users" to trigger the connection state (up or down), or have the users enable it manually.

Short version is that VPNs add routing information, so even if the user had a "different LAN connection", the routes would still be there to traverse the VPN.
Locked

Return to “Networking”