[Openswan Users] unexpected STRING [xauth] trying to set up connection to SonicWall
muir.james.a at gmail.com
Mon Jan 19 10:02:34 EST 2009
Neil Aggarwal wrote:
> Based on your post, I changed my config files to:
> conn sonicwall
> 22.214.171.124 @00ABCDE : PSK "myPass"
> I still get this output:
> Jan 16 17:08:18 jamm8 pluto: "sonicwall" #1: initiating Aggressive
> Mode #1, connection "sonicwall"
> Jan 16 17:08:18 jamm8 pluto: | setting sec: 1
> Jan 16 17:08:18 jamm8 pluto: "sonicwall" #1: Informational Exchange
> message must be encrypted
> Any idea?
I'm not certain if it will solve your problem, but I think you have the
file ipsec.secrets configured incorrectly. PSK is short for "pre-shared
key" -- your password doesn't go there. PSK + XAUTH is an
authentication method; my sonicwall uses this method, but yours might do
something different (talk to your sys admin).
Assuming that your sonicwall is set to do PSK + XAUTH, your pre-shared
key is a hex-string that both you and the sonicwall share (e.g.
0123456789ABCDEF). Your sys admin can give this to you. This is the
string that goes in ipsec.secrets.
Once you initiate your connection, and the PSK is verified, the
sonicwall will prompt you for your password.
More information about the Users