Independent of a simple or complex OpenVPN configuration the following command does not work:
run show remote-config openvpn vtun0 remote-platform openvpn
No results are returned.
Here is the configuration part:
[edit] vyos@vyos# show int openvpn openvpn vtun0 { description "OpenVPN Test" local-port 12345 mode server openvpn-option "--push route 192.168.0.0 255.255.0.0" protocol tcp-passive server { subnet 10.100.1.0/24 } tls { ca-cert-file /config/auth/openvpn/ca.crt cert-file /config/easy-rsa/keys/cert.crt dh-file /config/easy-rsa/keys/dh2048.pem key-file /config/easy-rsa/keys/key.key } }
Best Regards
Markus