Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate-mobileconfig: Disconnect from VPN while connected to local network #42

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dstapp
Copy link

@dstapp dstapp commented Jul 16, 2017

This PR allows to supply a optional EXCLUDE_SSID environment variable when generating the mobileconfig file. If set, the device will disconnect from VPN while connected to the specified WiFi SSID. This is useful when you are at home and your device is connected to the local network. Still being connected to the VPN that tunnels to your local network anyway makes no sense and lowers your connection speed. As soon as you disconnect from the specified SSID, the VPN connection will be established again.

If no EXCLUDE_SSID is provided, the profile behaves as before.

The mobileconfig-parts are taken from a profile generated using the Apple Configurator 2 and tested on macOS 10.12, iOS 10 and iOS 11 PB 2 but should also work on previous releases since IKEv2 is supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant