OpenVPN causa la perdita della connessione WAN dopo il ritorno dalla modalità sospensione

0

Sto cercando di utilizzare OpenVPN per avere una connessione VPN costante sulla mia installazione 10.10.4.

Attualmente ho installato OpenVPN via homebrew e come dichiarato metti un file openvpn.conf in / etc / openvpn come profilo predefinito da caricare all'avvio. Ho anche creato un file plist per launchd. Questo carica e funziona bene all'avvio ed è sotto. Tuttavia, una volta che la mia macchina va a dormire di più e la riattivo, non riesco più a connettermi a Internet. Qualsiasi ping google.com restituisce un timeout icmq. Qualche idea su cosa sta andando male?

$ 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>
    
posta juliushibert 04.08.2015 - 00:49
fonte

0 risposte

Leggi altre domande sui tag