Hi Martin,
Can you guide me how to read the virtual ip that strongSwan uses directly
from interface at the client's side.

Regds,
Nitin


On Fri, Jun 1, 2012 at 5:08 PM, Martin Willi <[email protected]> wrote:

> Hi Nitin,
>
> > I want to know is there any system level variable or container that
> > stores the virtual IP assigned by the strongSwan server to the
> > strongSwan client's interface.
>
> When using the attr-sql [1] pool backend, you can use "ipsec pool
> --leases" on the server to list all leases. When using a pool directly
> defined in ipsec.conf, "ipsec leases" lists all IP leases.
>
> If you need that information on the client itself, you'd have to read
> the IP directly from the interface, parse "ipsec statusall" or extend
> the stroke (or any other) interface by such a function.
>
> Regards
> Martin
>
> [1]http://wiki.strongswan.org/projects/strongswan/wiki/AttrSQL
>
>
>
>
_______________________________________________
Users mailing list
[email protected]
https://lists.strongswan.org/mailman/listinfo/users

Reply via email to