💻 Software
How can you automatically run a script after connecting to a VPN on OS X?
Fresh5 days ago
Mar 15, 202622330 viewsConfidence Score0%
0%
Problem
I have configured the VPN connection in OS X 10.7.3, but since the network I'm connecting to uses a corporate proxy, has custom Maven repository servers, and other network-specific settings (remote drives, for instance), I want to run a script on logon/logoff of a VPN to: change the Maven to point …
Error Output
~/.m2/settings.xml
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can you automatically run a script after connecting to a VPN on OS X?
Low Risk
If you already have the VPN configured, you can connect to it via commandline. As I explained in this answer, you can create two shell functions for login and logout, respectively, by adding them to your – see the linked answer for the function. Jus…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix