Disable IPSEC Tunnel by Command Line

Started by ragno, October 31, 2024, 07:08:28 PM

Previous topic - Next topic
Hi everyone,

Is there a way to disable and enable a specific IPSEC Tunnel from the command line that has been created in "Connections" (not Legacy)?

The command below seemed to work, but it didn't actually disable the tunnel, it just stopped it briefly and then restarted it:

swanctl --terminate --ike 6dc1eb32-c3d2-4ea5-a9fc-20d03ece80bd

Thank you,