<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://beta.ivc.no/wiki/index.php?action=history&amp;feed=atom&amp;title=Autoconnect_VPN_OSX</id>
	<title>Autoconnect VPN OSX - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://beta.ivc.no/wiki/index.php?action=history&amp;feed=atom&amp;title=Autoconnect_VPN_OSX"/>
	<link rel="alternate" type="text/html" href="https://beta.ivc.no/wiki/index.php?title=Autoconnect_VPN_OSX&amp;action=history"/>
	<updated>2026-05-08T09:17:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://beta.ivc.no/wiki/index.php?title=Autoconnect_VPN_OSX&amp;diff=10871&amp;oldid=prev</id>
		<title>Ivc at 12:45, 3 October 2014</title>
		<link rel="alternate" type="text/html" href="https://beta.ivc.no/wiki/index.php?title=Autoconnect_VPN_OSX&amp;diff=10871&amp;oldid=prev"/>
		<updated>2014-10-03T12:45:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:45, 3 October 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To make OS X auto-connect and re-connect to a VPN, use this AppleScript to automate the process. When compiled as an application, it will stay in the background and &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;watch wetherer &lt;/del&gt;the VPN connection is active or not.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To make OS X auto-connect and re-connect to a VPN, use this AppleScript to automate the process. When compiled as an application, it will stay in the background and &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;watches whether &lt;/ins&gt;the VPN connection is active or not &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;- and connects when needed&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Paste the following into the AppleScript editor and change the &amp;quot;RPI VPN&amp;quot; with the name of your VPN configuration name in the Network system preferences.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Paste the following into the AppleScript editor and change the &amp;quot;RPI VPN&amp;quot; with the name of your VPN configuration name in the Network system preferences.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ivc</name></author>
	</entry>
	<entry>
		<id>https://beta.ivc.no/wiki/index.php?title=Autoconnect_VPN_OSX&amp;diff=10870&amp;oldid=prev</id>
		<title>Ivc: Created page with &quot;To make OS X auto-connect and re-connect to a VPN, use this AppleScript to automate the process. When compiled as an application, it will stay in the background and watch weth...&quot;</title>
		<link rel="alternate" type="text/html" href="https://beta.ivc.no/wiki/index.php?title=Autoconnect_VPN_OSX&amp;diff=10870&amp;oldid=prev"/>
		<updated>2014-10-03T12:44:47Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;To make OS X auto-connect and re-connect to a VPN, use this AppleScript to automate the process. When compiled as an application, it will stay in the background and watch weth...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;To make OS X auto-connect and re-connect to a VPN, use this AppleScript to automate the process. When compiled as an application, it will stay in the background and watch wetherer the VPN connection is active or not.&lt;br /&gt;
&lt;br /&gt;
Paste the following into the AppleScript editor and change the &amp;quot;RPI VPN&amp;quot; with the name of your VPN configuration name in the Network system preferences.&lt;br /&gt;
&lt;br /&gt;
 on idle&lt;br /&gt;
 	tell application &amp;quot;System Events&amp;quot;&lt;br /&gt;
 		tell current location of network preferences&lt;br /&gt;
 			set myConnection to the service &amp;quot;RPI VPN&amp;quot;&lt;br /&gt;
 			if myConnection is not null then&lt;br /&gt;
 				if current configuration of myConnection is not connected then&lt;br /&gt;
 					connect myConnection&lt;br /&gt;
 				end if&lt;br /&gt;
 			end if&lt;br /&gt;
 		end tell &lt;br /&gt;
 		return 120&lt;br /&gt;
 	end tell&lt;br /&gt;
 end idle&lt;br /&gt;
&lt;br /&gt;
Save and pick File format Application, put in /Applications and make it auto-start by adding it to the Login Items list in the Users and Groups system preferences.&lt;/div&gt;</summary>
		<author><name>Ivc</name></author>
	</entry>
</feed>