Post
by rokello » Thu Sep 23, 2021 8:18 am
I have input the public ip and it is still failing to connect to openvpnas. but through the mobile app, the VPN connection works. on a computer, it fails.
Logs:
9/23/2021, 11:37:15 AM EVENT: RESOLVE ⏎9/23/2021, 11:37:15 AM OpenVPN core 3.git::f225fcd0 win x86_64 64-bit PT_PROXY built on Mar 19 2020 21:16:20
⏎9/23/2021, 11:37:15 AM Frame=512/2048/512 mssfix-ctrl=1250
⏎9/23/2021, 11:37:15 AM UNUSED OPTIONS
4 [nobind]
18 [sndbuf] [0]
19 [rcvbuf] [0]
21 [verb] [3]
31 [CLI_PREF_ALLOW_WEB_IMPORT] [True]
32 [CLI_PREF_BASIC_CLIENT] [False]
33 [CLI_PREF_ENABLE_CONNECT] [False]
34 [CLI_PREF_ENABLE_XD_PROXY] [True]
35 [WSHOST] [x.x.x.x:443]
36 [WEB_CA_BUNDLE] [-----BEGIN CERTIFICATE----- MIIDBjCCAe6gAwIBAgIEYUs/HjANBgkqhkiG...]
37 [IS_OPENVPN_WEB_CA] [1]
⏎9/23/2021, 11:37:15 AM Contacting x.x.x.x:1194 via UDP
⏎9/23/2021, 11:37:15 AM Connecting to [x.x.x.x]:1194 (x.x.x.x) via UDPv4
⏎9/23/2021, 11:37:15 AM EVENT: WAIT ⏎9/23/2021, 11:37:15 AM EVENT: CONNECTING ⏎9/23/2021, 11:37:15 AM Tunnel Options:V4,dev-type tun,link-mtu 1558,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 1,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-client
⏎9/23/2021, 11:37:15 AM Creds: Username/PasswordEmpty
⏎9/23/2021, 11:37:15 AM Peer Info:
IV_GUI_VER=OCmacOS_3.1.3-713
IV_VER=3.git::f225fcd0
IV_PLAT=win
IV_NCP=2
IV_TCPNL=1
IV_PROTO=2
IV_LZO_STUB=1
IV_COMP_STUB=1
IV_COMP_STUBv2=1
IV_AUTO_SESS=1
IV_HWADDR=b0:83:fe:56:45:db
⏎9/23/2021, 11:37:18 AM VERIFY OK : depth=1
cert. version : 3
serial number : 61:4B:3F:15
issuer name : CN=OpenVPN CA
subject name : CN=OpenVPN CA
issued on : 2021-09-15 14:35:01
expires on : 2031-09-20 14:35:01
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=true
⏎9/23/2021, 11:37:18 AM VERIFY OK : depth=0
cert. version : 3
serial number : 01
issuer name : CN=OpenVPN CA
subject name : CN=OpenVPN Server
issued on : 2021-09-15 14:35:01
expires on : 2031-09-20 14:35:01
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=false
cert. type : SSL Server
⏎9/23/2021, 11:38:04 AM Session invalidated: KEEPALIVE_TIMEOUT
⏎9/23/2021, 11:38:04 AM Client terminated, restarting in 2000 ms...
⏎9/23/2021, 11:38:06 AM EVENT: RECONNECTING ⏎9/23/2021, 11:38:06 AM EVENT: RESOLVE ⏎9/23/2021, 11:38:06 AM Contacting x.x.x.x:1194 via UDP
⏎9/23/2021, 11:38:06 AM Connecting to [x.x.x.x]:1194 (x.x.x.x) via UDPv4
⏎9/23/2021, 11:38:06 AM EVENT: WAIT ⏎9/23/2021, 11:38:11 AM EVENT: CONNECTING ⏎9/23/2021, 11:38:11 AM Tunnel Options:V4,dev-type tun,link-mtu 1558,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 1,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-client
⏎9/23/2021, 11:38:11 AM Creds: Username/PasswordEmpty
⏎9/23/2021, 11:38:11 AM Peer Info:
IV_GUI_VER=OCmacOS_3.1.3-713
IV_VER=3.git::f225fcd0
IV_PLAT=win
IV_NCP=2
IV_TCPNL=1
IV_PROTO=2
IV_LZO_STUB=1
IV_COMP_STUB=1
IV_COMP_STUBv2=1
IV_AUTO_SESS=1
IV_HWADDR=b0:83:fe:56:45:db
⏎9/23/2021, 11:38:11 AM VERIFY OK : depth=1
cert. version : 3
serial number : 61:4B:3F:15
issuer name : CN=OpenVPN CA
subject name : CN=OpenVPN CA
issued on : 2021-09-15 14:35:01
expires on : 2031-09-20 14:35:01
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=true
⏎9/23/2021, 11:38:11 AM VERIFY OK : depth=0
cert. version : 3
serial number : 01
issuer name : CN=OpenVPN CA
subject name : CN=OpenVPN Server
issued on : 2021-09-15 14:35:01
expires on : 2031-09-20 14:35:01
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=false
cert. type : SSL Server
⏎9/23/2021, 11:38:12 AM SSL Handshake: TLSv1.2/TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384
⏎9/23/2021, 11:38:12 AM Session is ACTIVE
⏎9/23/2021, 11:38:12 AM Sending PUSH_REQUEST to server...
⏎9/23/2021, 11:38:12 AM EVENT: GET_CONFIG ⏎9/23/2021, 11:38:12 AM OPTIONS:
0 [explicit-exit-notify]
1 [topology] [subnet]
2 [route-delay] [5] [30]
3 [dhcp-pre-release]
4 [dhcp-renew]
5 [dhcp-release]
6 [route-metric] [101]
7 [ping] [12]
8 [ping-restart] [50]
9 [compress] [stub-v2]
10 [redirect-gateway] [def1]
11 [redirect-gateway] [bypass-dhcp]
12 [redirect-gateway] [autolocal]
13 [route-gateway] [172.27.232.1]
14 [dhcp-option] [DNS] [192.168.2.2]
15 [dhcp-option] [DNS] [192.168.2.195]
16 [register-dns]
17 [block-ipv6]
18 [ifconfig] [172.27.232.5] [255.255.248.0]
19 [peer-id] [1]
20 [auth-token] ...
21 [cipher] [AES-256-GCM]
⏎9/23/2021, 11:38:12 AM Session token: [redacted]
⏎9/23/2021, 11:38:12 AM Server has pushed compressor COMP_STUBv2, but client has disabled compression, switching to asymmetric
⏎9/23/2021, 11:38:12 AM PROTOCOL OPTIONS:
cipher: AES-256-GCM
digest: SHA1
compress: COMP_STUBv2
peer ID: 1
⏎9/23/2021, 11:38:12 AM CAPTURED OPTIONS:
Session Name: x.x.x.x
Layer: OSI_LAYER_3
Remote Address: x.x.x.x
Tunnel Addresses:
172.27.232.5/21 -> 172.27.232.1
Reroute Gateway: IPv4=1 IPv6=0 flags=[ ENABLE REROUTE_GW AUTO_LOCAL DEF1 BYPASS_DHCP IPv4 ]
Block IPv6: yes
Route Metric Default: 101
Add Routes:
Exclude Routes:
DNS Servers:
192.168.2.2
192.168.2.195
Search Domains:
⏎9/23/2021, 11:38:12 AM SetupClient: transmitting tun setup list to \\.\pipe\agent_ovpnconnect
{
"confirm_event" : "d003000000000000",
"destroy_event" : "7403000000000000",
"tun" :
{
"adapter_domain_suffix" : "",
"block_ipv6" : true,
"dns_servers" :
[
{
"address" : "192.168.2.2",
"ipv6" : false
},
{
"address" : "192.168.2.195",
"ipv6" : false
}
],
"layer" : 3,
"mtu" : 0,
"remote_address" :
{
"address" : "x.x.x.x",
"ipv6" : false
},
"reroute_gw" :
{
"flags" : 315,
"ipv4" : true,
"ipv6" : false
},
"route_metric_default" : 101,
"session_name" : "x.x.x.x",
"tunnel_address_index_ipv4" : 0,
"tunnel_address_index_ipv6" : -1,
"tunnel_addresses" :
[
{
"address" : "172.27.232.5",
"gateway" : "172.27.232.1",
"ipv6" : false,
"metric" : -1,
"net30" : false,
"prefix_length" : 21
}
]
}
}
POST np://[\\.\pipe\agent_ovpnconnect]/tun-setup : 400 Bad Request
TAP ADAPTERS:
guid='{80D3067C-E41A-4BF3-A1D0-A7844C9C9ACD}' index=16 name='Local Area Connection 2'
Open TAP device "" PATH="" FAILED
Destroyed previous TAP instance due to exception
cannot acquire TAP handle
⏎9/23/2021, 11:38:12 AM TUN Error: ovpnagent: request error
⏎9/23/2021, 11:38:12 AM Client exception in transport_recv: tun_exception: not connected
⏎9/23/2021, 11:38:12 AM EVENT: ASSIGN_IP ⏎9/23/2021, 11:38:12 AM EVENT: TUN_SETUP_FAILED ovpnagent: request error⏎9/23/2021, 11:38:12 AM EVENT: DISCONNECTED ⏎