Estoy tratando de usar OpenVPN para tener una conexión VPN constante en mi instalación 10.10.4.
Actualmente, he configurado OpenVPN a través de homebrew y como se indica, coloque un openvpn.conf en / etc / openvpn como el perfil predeterminado que se cargará en el arranque. También he creado un archivo plist para launchd. Esto se carga y funciona bien en el arranque y está debajo. Sin embargo, una vez que mi máquina se duerme más y la despierto, ya no puedo conectarme a Internet. Cualquier ping google.com
devuelve un tiempo de espera icmq. ¿Alguna idea de qué está mal?
$ cat /Library/Logs/org.openvpn.log
Mon Aug 3 23:31:23 2015 OpenVPN 2.3.7 x86_64-apple-darwin14.4.0 [SSL (OpenSSL)] [LZO] [MH] [IPv6] built on Jul 16 2015
Mon Aug 3 23:31:23 2015 library versions: OpenSSL 1.0.2d 9 Jul 2015, LZO 2.09
Mon Aug 3 23:31:23 2015 UDPv4 link local: [undef]
Mon Aug 3 23:31:23 2015 UDPv4 link remote: [AF_INET]37.130.226.90:1194
Mon Aug 3 23:31:23 2015 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Mon Aug 3 23:31:23 2015 [Private Internet Access] Peer Connection Initiated with [AF_INET]37.130.226.90:1194
Mon Aug 3 23:31:26 2015 Opened utun device utun0
Mon Aug 3 23:31:26 2015 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Mon Aug 3 23:31:26 2015 /sbin/ifconfig utun0 delete
ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
Mon Aug 3 23:31:26 2015 NOTE: Tried to delete pre-existing tun/tap instance -- No Problem if failure
Mon Aug 3 23:31:26 2015 /sbin/ifconfig utun0 10.106.1.6 10.106.1.5 mtu 1500 netmask 255.255.255.255 up
add net 37.130.226.90: gateway 192.168.0.1
add net 0.0.0.0: gateway 10.106.1.5
add net 128.0.0.0: gateway 10.106.1.5
add net 10.106.1.1: gateway 10.106.1.5
Mon Aug 3 23:31:26 2015 Initialization Sequence Completed
Mon Aug 3 23:38:04 2015 [Private Internet Access] Inactivity timeout (--ping-restart), restarting
Mon Aug 3 23:38:04 2015 SIGUSR1[soft,ping-restart] received, process restarting
Mon Aug 3 23:38:13 2015 RESOLVE: Cannot resolve host address: uk-southampton.privateinternetaccess.com: nodename nor servname provided, or not known
Mon Aug 3 23:38:13 2015 RESOLVE: Cannot resolve host address: uk-southampton.privateinternetaccess.com: nodename nor servname provided, or not known
Mon Aug 3 23:38:18 2015 RESOLVE: Cannot resolve host address: uk-southampton.privateinternetaccess.com: nodename nor servname provided, or not known
Mon Aug 3 23:38:23 2015 UDPv4 link local: [undef]
Mon Aug 3 23:38:23 2015 UDPv4 link remote: [AF_INET]146.185.24.124:1194
Mon Aug 3 23:39:23 2015 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Mon Aug 3 23:39:23 2015 TLS Error: TLS handshake failed
Mon Aug 3 23:39:23 2015 SIGUSR1[soft,tls-error] received, process restarting
Mon Aug 3 23:39:25 2015 UDPv4 link local: [undef]
Mon Aug 3 23:39:25 2015 UDPv4 link remote: [AF_INET]46.28.53.20:1194
OpenVPN Plist
<?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>