docker-for-mac-kubernetes-devkit icon indicating copy to clipboard operation
docker-for-mac-kubernetes-devkit copied to clipboard

Can't connect to the docker-for-mac vpn using Tunnelblick

Open kevinatgz opened this issue 6 years ago • 1 comments

after I install and run docker-compose up -d , and generate the ovpn file, can't connect with that file. any problem with the config file ?

kevinatgz avatar Jan 20 '20 05:01 kevinatgz

i get the same error

with client error msg: 2020-09-23 09:59:52.791216 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts 2020-09-23 09:59:52.803387 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication 2020-09-23 09:59:52.803415 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication 2020-09-23 09:59:52.804302 MANAGEMENT: >STATE:1600826392,RESOLVE,,,,,, 2020-09-23 09:59:52.806716 TCP/UDP: Preserving recently used remote address: [AF_INET6]::1:1194 2020-09-23 09:59:52.806788 Socket Buffers: R=[131072->131072] S=[131072->131072] 2020-09-23 09:59:52.806816 Attempting to establish TCP connection with [AF_INET6]::1:1194 [nonblock] 2020-09-23 09:59:52.806827 MANAGEMENT: >STATE:1600826392,TCP_CONNECT,,,,,, 2020-09-23 09:59:53.878146 TCP connection established with [AF_INET6]::1:1194 2020-09-23 09:59:53.878241 TCP_CLIENT link local: (not bound) 2020-09-23 09:59:53.878387 TCP_CLIENT link remote: [AF_INET6]::1:1194 2020-09-23 09:59:53.878733 MANAGEMENT: >STATE:1600826393,WAIT,,,,,, 2020-09-23 10:00:53.265268 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) 2020-09-23 10:00:53.266477 TLS Error: TLS handshake failed

with server error msg: 1 openvpn_1 | Wed Sep 23 02:31:36 2020 TUN/TAP device tun0 opened openvpn_1 | Wed Sep 23 02:31:36 2020 TUN/TAP TX queue length set to 100 openvpn_1 | Wed Sep 23 02:31:36 2020 do_ifconfig, tt->did_ifconfig_ipv6_setup=0 openvpn_1 | Wed Sep 23 02:31:36 2020 /sbin/ip link set dev tun0 up mtu 1500 openvpn_1 | Wed Sep 23 02:31:36 2020 /sbin/ip addr add dev tun0 local 192.168.255.1 peer 192.168.255.2 openvpn_1 | Wed Sep 23 02:31:36 2020 /sbin/ip route add 192.168.255.0/24 via 192.168.255.2 openvpn_1 | Wed Sep 23 02:31:36 2020 Could not determine IPv4/IPv6 protocol. Using AF_INET openvpn_1 | Wed Sep 23 02:31:36 2020 Socket Buffers: R=[87380->87380] S=[16384->16384] openvpn_1 | Wed Sep 23 02:31:36 2020 Listening for incoming TCP connection on [AF_INET][undef]:31194 openvpn_1 | Wed Sep 23 02:31:36 2020 TCPv4_SERVER link local (bound): [AF_INET][undef]:31194 openvpn_1 | Wed Sep 23 02:31:36 2020 TCPv4_SERVER link remote: [AF_UNSPEC] openvpn_1 | Wed Sep 23 02:31:36 2020 GID set to nogroup openvpn_1 | Wed Sep 23 02:31:36 2020 UID set to nobody openvpn_1 | Wed Sep 23 02:31:36 2020 MULTI: multi_init called, r=256 v=256 openvpn_1 | Wed Sep 23 02:31:36 2020 IFCONFIG POOL: base=192.168.255.4 size=62, ipv6=0 openvpn_1 | Wed Sep 23 02:31:36 2020 MULTI: TCP INIT maxclients=1024 maxevents=1028 openvpn_1 | Wed Sep 23 02:31:36 2020 Initialization Sequence Completed openvpn-proxy_1 | 2020/09/23 02:38:15 socat[6] E connect(5, AF=2 172.32.0.1:31194, 16): Connection refused

juewu4072 avatar Sep 23 '20 02:09 juewu4072