the Gui uses \Program Files\openvpn aswell in my case, when the GUI is starting at startup then it's adding
5 276 2001:db8:0:88::/64 On-link
aswell, but not after time a certain time after login, in 1 of 10 cases the Service don't add the On-link route and allow me as Client to communicate to 2001:db8:0:88::1, it's probably kinda sort of bug which add the dead route, could be Windows only issue, i got a workaround for that.
Edit: Service and GUI are same OS just for be clear.
My workaround is to route the Server IP through the Server IP
push "route-ipv6 2001:db8:0:88::1/128 2001:db8:0:88::1 1"
So i can ping and reach 2001:db8:0:88::1 always even when the dead route got added at the OpenVPN connect step.
port 1194
proto udp6
dev tun0
iproute /usr/local/sbin/unpriv-ip
tun-ipv6
push tun-ipv6
ca *
cert *
key *
dh *
server 192.168.88.0 255.255.255.0
server-ipv6 2001:db8:0:88::/64
push "route-ipv6 2000::/3 2001:db8:0:88::1 1"
push "route-ipv6 2001:db8:0:88::1/128 2001:db8:0:88::1 1"
ifconfig-pool-persist ipp.txt
client-config-dir /etc/openvpn/ccd
script-security 2
client-connect "/etc/openvpn/server-clientconnect.sh"
client-disconnect "/etc/openvpn/server-clientdisconnect.sh"
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 192.168.88.1"
push "dhcp-option DNS6 2001:db8:0:88::1"
push "block-outside-dns"
client-to-client
keepalive 5 60
user vpn
group vpn
persist-key
persist-tun
status openvpn-status.log
verb 3
sndbuf 0
rcvbuf 0
So this config is working for me fine 100%, but it's kinda weird that some times the On-link route is getting added or not from the Client.