Is it possible to disconnect a VPN user in VyOS CLI? I am using L2TP, but in general. How to break the connection of any of the users listed in show vpn remote-access
?
Thanks in advance!
Is this suitable in your case?:
vyos@vyos:~$ reset vpn
Possible completions:
ipsec-peer Reset all tunnels for given peer
ipsec-profile Reset all tunnels for given profile
remote-access Reset remote access VPN connections
vyos@vyos:~$ reset vpn remote-access
Possible completions:
all Terminate all users current remote access VPN session(s)
interface Terminate a remote access VPN interface
user Terminate specified users current remote access VPN session(s)
Perfect! Many thanks! I haven’t found these commands in the documentation.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.