I'm looking for a way to make this work. In Windows, we use a powershell script that continuously run and monitors for network changes, sets proxy based on your network segment.
I suspect we can achieve this with a script teamed up with an Offline Policy, set on Logon and Network State Change.
Use network segments in the scope to define 'limitations' for which proxy they will get. (we have two)
What I can't figure out is this.
If I use exclusions for those same network segments I'm applying it to, will this remove the proxy, or will I need another script to disable it on a cloned policy (but using exclusion instead of limitations)
AND
We will have users connected through various ethernet adapters to the LAN (Docking stations, USB-C to Ethernet, etc...). There is no real way to predict which will be used. Is there a way we can target ANY network interface that is connected?