1
23.1 Legacy Series / Error with command 'ipsec leases'
« on: March 16, 2023, 08:38:23 pm »
Hi,
In a script I use the command 'ipsec leases' to get all ip of the mobile ipsec vpn.
After update to 23.1.4 I get now the error message of the command: ipsec leases
no files found matching '/usr/local/etc/strongswan.opnsense.d/*.conf'
no pools found
In the Dashboard, Tile IPsec, Tab mobile I see the connected users and ip.
What happend with the command 'ipsec leases' ? In Version 22.7 the call 'ipsec leases' had the output:
no files found matching '/usr/local/etc/strongswan.opnsense.d/*.conf'
Leases in pool '172.16.0.0/16', usage: 2/65534, 2 online
172.16.0.1 online 'gateway2'
172.16.0.2 online 'gateway1'
Why is now no pool found?
In the GUI VPN/IPsec/Lease Status I see as pool defaultv4.
But the command 'ipsec leases defaultv4' bring also the error:
no files found matching '/usr/local/etc/strongswan.opnsense.d/*.conf'
pool 'defaultv4' not found
Regards,
fog
In a script I use the command 'ipsec leases' to get all ip of the mobile ipsec vpn.
After update to 23.1.4 I get now the error message of the command: ipsec leases
no files found matching '/usr/local/etc/strongswan.opnsense.d/*.conf'
no pools found
In the Dashboard, Tile IPsec, Tab mobile I see the connected users and ip.
What happend with the command 'ipsec leases' ? In Version 22.7 the call 'ipsec leases' had the output:
no files found matching '/usr/local/etc/strongswan.opnsense.d/*.conf'
Leases in pool '172.16.0.0/16', usage: 2/65534, 2 online
172.16.0.1 online 'gateway2'
172.16.0.2 online 'gateway1'
Why is now no pool found?
In the GUI VPN/IPsec/Lease Status I see as pool defaultv4.
But the command 'ipsec leases defaultv4' bring also the error:
no files found matching '/usr/local/etc/strongswan.opnsense.d/*.conf'
pool 'defaultv4' not found
Regards,
fog