The client ip address is not displayed when the tunnel status checked for the OpenVPN server interfaces, the assigned mac-address for the client is shown appending with "@0"
Output from the server side:
vyos@testing:~$ show openvpn server
OpenVPN status on vtun214
Client CN Remote Host Tunnel IP Local Host TX bytes RX bytes Connected Since
-------------- -------------- ------------------- ------------- ---------- ---------- -------------------
openvpn_client 10.0.1.1:39252 1e:c2:59:dd:b6:63@0 10.0.1.2:1194 55.5 KB 55.9 KB 2025-02-28 02:30:06
vyos@testing:~$ sudo cat /run/openvpn/vtun214.status
OpenVPN CLIENT LIST
Updated,2025-02-28 05:30:56
Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since
openvpn_client,10.0.1.1:39252,57392,56920,2025-02-28 02:30:06
ROUTING TABLE
Virtual Address,Common Name,Real Address,Last Ref
1e:c2:59:dd:b6:63@0,openvpn_client,10.0.1.1:39252,2025-02-28 02:30:07
GLOBAL STATS
Max bcast/mcast queue length,0
END
Output from logs:
Feb 28 02:30:06 openvpn-vtun214[13210]: openvpn_client/10.0.1.1:39252 SENT CONTROL [openvpn_client]: 'PUSH_REPLY,route-gateway 172.32.0.1,ping 10,ping-restart 600,ifconfig 172.32.0.100 255.255.255.0,peer-id 0,cipher AES-256-GCM,protocol-flags cc-exit tls-ekm dyn-tls-crypt,tun-mtu 1500' (status=1)
Output from client-side
--------------------------
vyos@OVPN:~$ show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address MAC VRF MTU S/L Description
----------- --------------- ----------------- ------- ----- ----- -------------
eth0 - 50:0b:00:06:00:00 default 1500 u/u
eth1 10.0.1.1/24 50:0b:00:06:00:01 default 1500 u/u
eth2 - 50:0b:00:06:00:02 default 1500 u/u
eth3 - 50:0b:00:06:00:03 default 1500 u/u
lo 127.0.0.1/8 00:00:00:00:00:00 default 65536 u/u
::1/128
vtun214 172.32.0.100/24 1e:c2:59:dd:b6:63 default 1500 u/uAttached the config file.