IPSec: "no preshared key found for..."
Posted: Tue Apr 11, 2006 4:31 pm
[PROBLEM]
OpenSwan 1.0.8 (Linux):
Trying to open a VPN connection by executing: "ipsec auto --up myconn" complains:
[SOLUTION]
Ipsec's pluto wasn't started correctly. In our case (using devil-linux), we simply had to run the "/etc/init.d/ipsec" startup script which initialized the whole thing.
Running "ipsec autio --up myconn" afterwards seemed to work then.
OpenSwan 1.0.8 (Linux):
Trying to open a VPN connection by executing: "ipsec auto --up myconn" complains:
although there's a PSK line in "ipsec.secrets":Can't authenticate: no preshared key found for `x.x.x.x' and `y.y.y.y'.
Code: Select all
x.x.x.x y.y.y.y: PSK "mysecret"
[SOLUTION]
Ipsec's pluto wasn't started correctly. In our case (using devil-linux), we simply had to run the "/etc/init.d/ipsec" startup script which initialized the whole thing.
Running "ipsec autio --up myconn" afterwards seemed to work then.