Some routes were not successfully added. The connection may not function correctly

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
sv-schneider
OpenVpn Newbie
Posts: 1
Joined: Tue Sep 26, 2023 12:09 pm

Some routes were not successfully added. The connection may not function correctly

Post by sv-schneider » Tue Sep 26, 2023 1:02 pm

Good day all,

I have the following problem:

When I update the openvpn gui on my clients from 2.5.X to 2.6.X it won't let me connect to a VPN.

It does show that it's connected.(Small PC turns green).

but if you look in the log you get the following error:
Connected will route errors:

ERROR: Some routes were not successfully added. The connection may not function correctly

The OPEN VPN server is also running on the latest version.

Maybe someone can give me a hint?

Many greetings
Sven

pixl
OpenVpn Newbie
Posts: 1
Joined: Wed Sep 27, 2023 12:44 pm

Re: Some routes were not successfully added. The connection may not function correctly

Post by pixl » Wed Sep 27, 2023 12:51 pm

Hi.

I can agree, having the same issue.

Updated my server from 2.5.7 to 2.6.6 (2.5.7 is fast compared to 2.6.6).
Tried upgrading my existing environment (2.5.7->2.6.6) AND made a fresh install, directly on 2.6.6. Both won't work stable for me.

Clients connecting fine, receive an IP (10.x.x.x) and can "sometimes" ping a server.

Serverconfig:

Code: Select all

local *snipped*
port *snipped*
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA512
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384:TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RS>
tls-crypt tc.key
tls-version-min 1.2
topology subnet
server 10.8.0.0 255.255.255.0
push "redirect-gateway def1 bypass-dhcp"
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS *snipped*"
push "dhcp-option DNS *snipped*"
push "dhcp-option DNS *snipped*"
keepalive 10 120
ncp-ciphers AES-256-GCM:AES-192-GCM:AES-128-GCM
user nobody
group nogroup
persist-key
persist-tun
verb 3
crl-verify crl.pem
explicit-exit-notify
management 127.0.0.1 17562
status openvpn-status.log
Clientconfig:

Code: Select all

client
dev tun
proto udp
remote *snipped* *snipped*
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
ignore-unknown-option block-outside-dns
block-outside-dns
verb 3
<ca>
-----BEGIN CERTIFICATE-----
As said: clients can connect without problems but can't reach any internal ips.

No errors in log.

Help is really appreciated (rolled back to 2.5.7 which works well and fast [so far]).

Thank you in advance.
Best regards

Post Reply