Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to make an Automator App to connect to a VPN

I have a machine at home that is connected all time to my office via a VPN.

As from time to time my internet connection drops, i would like to reset the VPN with an Ical event.

I wrote an automator script, either going to the menu bar clicking the VPN Icon, or launching system prefs, none are working...

Anyhelp appreciated

MAc OS Server 10.5.8

Mac Mini, Mac OS X (10.5.8)

Posted on Sep 15, 2009 9:53 PM

Reply
Question marked as Best reply

Posted on Sep 16, 2009 12:14 AM

Use an AppleScript step and put this in:


tell application "System Events"
tell network preferences
connect service "<networkportname>"
end tell
end tell


Replace <networkportname> with whatever your VPN is named in Network prefs.
1 reply

How to make an Automator App to connect to a VPN

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.