Hi, I’m trying to use the php api to reset a vpn tunnel.
I can see the connected remote-peer with this:
$mt->write(‘/ip/ipsec/remote-peers/getall’);
I can see the currently installed SAs with this:
$mt->write(‘/ip/ipsec/installed-sa/getall’);
I can flush the currently installed SAs with this:
$mt->write(‘/ip/ipsec/installed-sa/flush’);
But using the following, I can’t seem to disconnect the currently connected remote peer:
$mt->write(‘/ip/ipsec/remote-peers/kill-connections’);
Is there something I’m missing here?
Please help!
Thanks!