The following does not work:
vyos@vyos:~$ show vpn ipsec policy RTNETLINK answers: Operation not permitted Dump terminated
But when we start vbash as root it does:
vyos@vyos:~$ sudo vbash vbash-4.1# vbash-4.1# show vpn ipsec policy src 0.0.0.0/0 dst 0.0.0.0/0 socket in priority 0 ptype main src 0.0.0.0/0 dst 0.0.0.0/0 socket out priority 0 ptype main src 0.0.0.0/0 dst 0.0.0.0/0 socket in priority 0 ptype main src 0.0.0.0/0 dst 0.0.0.0/0 socket out priority 0 ptype main src ::/0 dst ::/0 socket in priority 0 ptype main src ::/0 dst ::/0 socket out priority 0 ptype main src ::/0 dst ::/0 socket in priority 0 ptype main src ::/0 dst ::/0 socket out priority 0 ptype main
(The output was truncated for security reasons)