OpenVPN causes loss of WAN connection after returning from s
Posted: Thu Aug 06, 2015 9:29 pm
I'm trying to use OpenVPN to have a constant VPN connection on my 10.10.4 install.
Currently I've setup OpenVPN via homebrew and as stated put an openvpn.conf in /etc/openvpn as the default profile to be loaded on boot. I've also created a plist file for launchd. This loads and runs fine at boot and is below. However once my machine goes into sleep more and I wake it, I can not longer connect to the internet. Any ping google.com returns an icmq timeout. Any ideas what's going wrong?
Copy of my OpenVPN launchd log output
http://pastebin.com/Ytjx879w
OpenVPN Plist
Currently I've setup OpenVPN via homebrew and as stated put an openvpn.conf in /etc/openvpn as the default profile to be loaded on boot. I've also created a plist file for launchd. This loads and runs fine at boot and is below. However once my machine goes into sleep more and I wake it, I can not longer connect to the internet. Any ping google.com returns an icmq timeout. Any ideas what's going wrong?
Copy of my OpenVPN launchd log output
http://pastebin.com/Ytjx879w
OpenVPN Plist
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<dict>
<key>Crashed</key>
<false/>
<key>SuccessfulExit</key>
<true/>
</dict>
<key>Label</key>
<string>org.openvpn</string>
<key>Program</key>
<string>/usr/local/sbin/openvpn</string>
<key>ProgramArguments</key>
<array>
<string>openvpn</string>
<string>--config</string>
<string>openvpn.conf</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StandardErrorPath</key>
<string>/Library/Logs/org.openvpn.log</string>
<key>StandardOutPath</key>
<string>/Library/Logs/org.openvpn.log</string>
<key>WorkingDirectory</key>
<string>/etc/openvpn</string>
</dict>
</plist>