This is the log file on the windowsclient which works flawless.
⏎[Jan 27, 2023, 14:53:31] Connecting to [mydomain]:443 (myhomeip) via TCPv4
⏎[Jan 27, 2023, 14:53:31] EVENT: CONNECTING ⏎[Jan 27, 2023, 14:53:31] Tunnel Options:V4,dev-type tun,link-mtu 1588,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,cipher BF-CBC,auth SHA512,keysize 128,tls-auth,key-method 2,tls-client
⏎[Jan 27, 2023, 14:53:31] Creds: Username/Password
⏎[Jan 27, 2023, 14:53:31] Peer Info:
IV_VER=3.git::d3f8b18b
IV_PLAT=win
IV_NCP=2
IV_TCPNL=1
IV_PROTO=30
IV_CIPHERS=AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305:BF-CBC
IV_LZO_STUB=1
IV_COMP_STUB=1
IV_COMP_STUBv2=1
IV_GUI_VER=OCWindows_3.3.6-2752
IV_SSO=webauth,openurl,crtext
IV_BS64DL=1
⏎[Jan 27, 2023, 14:53:32] SSL Handshake: peer certificate: CN=RT-AC5300, 1024 bit RSA, cipher: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3 Kx=any Au=any Enc=CHACHA20/POLY1305(256) Mac=AEAD
⏎[Jan 27, 2023, 14:53:32] Session is ACTIVE
⏎[Jan 27, 2023, 14:53:32] EVENT: GET_CONFIG ⏎[Jan 27, 2023, 14:53:32] Sending PUSH_REQUEST to server...
⏎[Jan 27, 2023, 14:53:32] OPTIONS:
0 [route] [192.168.1.0] [255.255.255.0] [vpn_gateway] [500]
1 [dhcp-option] [DNS] [192.168.1.1]
2 [redirect-gateway] [def1]
3 [route-gateway] [10.16.0.1]
4 [topology] [subnet]
5 [ping] [15]
6 [ping-restart] [60]
7 [ifconfig] [10.16.0.2] [255.255.255.0]
8 [peer-id] [0]
9 [cipher] [CHACHA20-POLY1305]
⏎[Jan 27, 2023, 14:53:32] PROTOCOL OPTIONS:
cipher: CHACHA20-POLY1305
digest: NONE
key-derivation: OpenVPN PRF
compress: LZO_STUB
peer ID: 0
control channel: tls-auth enabled
⏎[Jan 27, 2023, 14:53:32] EVENT: ASSIGN_IP ⏎[Jan 27, 2023, 14:53:32] CAPTURED OPTIONS:
Session Name: mydomain
Layer: OSI_LAYER_3
Remote Address: myhomeip
Tunnel Addresses:
10.16.0.2/24 -> 10.16.0.1
Reroute Gateway: IPv4=1 IPv6=0 flags=[ ENABLE REROUTE_GW DEF1 IPv4 ]
Block IPv6: no
Add Routes:
192.168.1.0/24 [METRIC=500]
Exclude Routes:
DNS Servers:
192.168.1.1
Search Domains:
⏎[Jan 27, 2023, 14:53:33] SetupClient: transmitting tun setup list to \\.\pipe\agent_ovpnconnect
{
"allow_local_dns_resolvers" : false,
"confirm_event" : "b00f000000000000",
"destroy_event" : "780f000000000000",
"tun" :
{
"adapter_domain_suffix" : "",
"add_routes" :
[
{
"address" : "192.168.1.0",
"gateway" : "",
"ipv6" : false,
"metric" : 500,
"net30" : false,
"prefix_length" : 24
}
],
"block_ipv6" : false,
"dns_servers" :
[
{
"address" : "192.168.1.1",
"ipv6" : false
}
],
"layer" : 3,
"mtu" : 0,
"remote_address" :
{
"address" : "myhomeip",
"ipv6" : false
},
"reroute_gw" :
{
"flags" : 275,
"ipv4" : true,
"ipv6" : false
},
"route_metric_default" : -1,
"session_name" : "mydomain",
"tunnel_address_index_ipv4" : 0,
"tunnel_address_index_ipv6" : -1,
"tunnel_addresses" :
[
{
"address" : "10.16.0.2",
"gateway" : "10.16.0.1",
"ipv6" : false,
"metric" : -1,
"net30" : false,
"prefix_length" : 24
}
]
},
"wintun" : false
}
POST np://[\\.\pipe\agent_ovpnconnect]/tun-setup : 200 OK
TAP ADAPTERS:
guid='{4476C3CF-1C77-48A6-A0C9-1775EB9A56A3}' index=7 name='Local Area Connection'
Open TAP device "Local Area Connection" PATH="\\.\Global\{4476C3CF-1C77-48A6-A0C9-1775EB9A56A3}.tap" SUCCEEDED
TAP-Windows Driver Version 9.24
ActionDeleteAllRoutesOnInterface iface_index=7
netsh interface ip set interface 7 metric=1
Ok.
netsh interface ip set address 7 static 10.16.0.2 255.255.255.0 gateway=10.16.0.1 store=active
IPHelper: add route 192.168.1.0/24 7 10.16.0.1 metric=500
netsh interface ip add route myhomeip/32 22 192.168.8.1 store=active
The object already exists.
netsh interface ip add route 0.0.0.0/1 7 10.16.0.1 store=active
Ok.
netsh interface ip add route 128.0.0.0/1 7 10.16.0.1 store=active
Ok.
netsh interface ip set dnsservers 7 static 192.168.1.1 register=primary validate=no
NRPT::ActionCreate names=[.] dns_servers=[192.168.1.1]
ActionWFP openvpn_app_path=C:\Program Files\OpenVPN Connect\OpenVPNConnect.exe tap_index=7 enable=1
permit IPv4 DNS requests from OpenVPN app
permit IPv6 DNS requests from OpenVPN app
block IPv4 DNS requests from other apps
block IPv6 DNS requests from other apps
allow IPv4 traffic from TAP
allow IPv6 traffic from TAP
ipconfig /flushdns
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.
TAP: ARP flush succeeded
TAP handle: 380c000000000000
⏎[Jan 27, 2023, 14:53:33] Connected via TUN_WIN
⏎[Jan 27, 2023, 14:53:33] LZO-ASYM init swap=0 asym=1
⏎[Jan 27, 2023, 14:53:33] Comp-stub init swap=0
⏎[Jan 27, 2023, 14:53:33] EVENT: CONNECTED username@mydomain:443 (myhomeip) via /TCPv4 on TUN_WIN/10.16.0.2/ gw=[10.16.0.1/]⏎