[Openswan Users] Don't know how to configure ID for "we require peer to have ID 'w.x.y.z', but peer declares '0x'"

Willie Gillespie wgillespie+openswan at es2eng.com
Thu Jul 12 12:33:22 EDT 2012


On 7/11/2012 2:59 AM, Moritz Bunkus wrote:
> 003 "testconf" #4: we require peer to have ID '213.x.y.z', but peer
> declares '0x'
>
> Reading ipsec.conf(5) lets me believe that I can only configure IP
> addresses or arbitrary strings prefixed with '@' as a side's ID. And
> true to the word neither "rightid=0x" nor "rightid=@0x" works. In the
> former case OpenSWAN complains that "0x" doesn't look like an IP address
> when adding the connection, and in the latter case the error message
> simply changes to the following:
>
> 003 "testconf" #4: we require peer to have ID '@0x', but peer declares '0x'

Hmm, yeah I'm not sure either.  Did you try rightid=%none?  Maybe it 
skips that check.  Or maybe not.


More information about the Users mailing list