[strongSwan] how do i specify the right id to be of type ID_KEY_ID

Martin Willi martin at strongswan.org
Wed Oct 29 09:55:01 CET 2014


Hi,

> I have a device that sends its ID as of type ID_KEY_ID. How do I define
> rightid for this connection in ipsec.conf?

Specifying ID_KEY_ID identities is currently possible only with the @#
prefix, followed by the hex encoding of the identity data:

  rightid=@#74657374

gives an ID_KEY_ID with the content "test".

Regards
Martin



More information about the Users mailing list