Hello,
I'm trying to push a specific route in IPv6 for a management VPN but I don't want to forward all trafic through the tunnel.
I'm running openvpn installed with APT on Debian 10.
When I'm launching the client, I'm getting this log : (I modified the logs a little bit to anonymise)
SENT CONTROL [user]: 'PUSH_REPLY,tun-ipv6,route-ipv6 <dst-route-subnet>,tun-ipv6,route-gateway 10.8.0.1,topology subnet,ping 10,ping-restart 120,ifconfig-ipv6 fd42:42:42:42::1000/64 fd42:42:42:42::1,ifconfig 10.8.0.2 255.255.255.0,peer-id 0,cipher AES-128-GCM' (status=1)
My server.conf in /etc/openvpn/server.conf
port 1194
proto udp6
dev tun
user nobody
group nogroup
persist-key
persist-tun
keepalive 10 120
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
server-ipv6 fd42:42:42:42::/64
tun-ipv6
push tun-ipv6
push "route-ipv6 <dst-route-subnet>"
dh none
ecdh-curve prime256v1
tls-crypt tls-crypt.key 0
crl-verify crl.pem
ca ca.crt
cert server_JKESRfk02E1CBsoX.crt
key server_JKESRfk02E1CBsoX.key
auth SHA256
cipher AES-128-GCM
ncp-ciphers AES-128-GCM
tls-server
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
client-config-dir /etc/openvpn/ccd
status /var/log/openvpn/status.log
verb 3