IPv6 allocation for point-to-point connection
Description of problem:
My site-to-site connection (point-to-point) has the following config for the interconnecting 'user':
ipv4-network = 192.168.32.8/30
...
ipv6-network = fcae::0/127
...This works as expected for IPv4 (server is 192.168.32.9, client is .10), but for IPv6 the addresses are assigned in a reverse manner (server is fcae::1, client is fcae::0).
Not a huge bug, perhaps, but an inconvenience for sure ;(
Version of ocserv used:
/sbin/ocserv --version
OpenConnect VPN Server 1.3.0
Compiled with: seccomp, oath, radius, gssapi, PAM, PKCS#11, AnyConnect GnuTLS version: 3.8.9
Client used:
/sbin/openconnect --version
OpenConnect version v9.12-3+deb13u2
Distributor of ocserv
Debian 13 for both the client and the server
How reproducible:
Just connect to the server with the appropriate config-per-user
Actual results:
At the client side:
ip a | grep inet
...
inet 192.168.32.10/32 scope global connector-if
...
inet6 fcae::/48 scope global
...Expected results:
client gets fcae::1 ipv6 addr
Also the ipv6 netmask seems to be wrong...
Thanks.