I have openvpn server that works fine with openvpn 2.4 clients from debian buster compiled with --enable-iproute2, but new openvpn 2.5 from bullseye comes with netlink and fails due to lack of src addr.

While iprouted version creates main route with 'src':
10.8.4.0/24 dev vpn proto kernel scope link src 10.0.0.10

log says:


/sbin/ip addr add dev vpn 10.0.0.10/24 broadcast 10.0.0.255


netlink creates main route without 'src':
10.0.0.0/24 via 10.0.0.1 dev vpn

log says:

net_addr_v4_add: 10.0.0.1/24 dev vpn

this way all other pushed routes like:
ip r add 10.0.2.0/24 via 10.0.0.2 dev vpn

fail:
sitnl_send: rtnl: generic error (-101): Network is unreachable

ERROR: Linux route add command failed


Is this a my misconfiguration error or new networking method issue?

--
sergio.


_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to