Guest User!

You are not Sophos Staff.

[7.390] Can't Add IPSec Remote Gateway with PSK

Hi All,

Don't think I've seen this one elsewhere in the forum, but apologies if it is a dupe. Fairly simple error, but stopping me from creating VPNs.

To repeat:

[LIST=1]
  • Go to Site-to-site VPN -> IPSec -> Remote Gateways.
  • Click New Remote Gateway.
  • Use Respond only and Preshared Key as the options.
  • Attempt to enter a PSK in the field (and repeat field).
  • When you click save, the "Key" box will flash red as if it hasn't been entered. But if you delete the text from it, you'll get an error that the fields don't match
[/LIST]

Screen shot of the options I was using is attached. Note: in the example I haven't entered a Remote Network, but entering one doesn't seem to matter.

You can edit existing gateways OK, just not create new ones.

Let me know if you need more info.

Thanks
Parents
  • This isn't a bug, rather a "feature" of IPSec.  It's a "mistake" that I've made personally, so you aren't alone!

    You can only have a single PSK for all Respond-Only IPSec VPNs; that's the reason it wouldn't accept the PSK you tried to assign.  If you have already defined a PSK in Remote Access for IPSec or L2TP over IPSec, just use the same one here.

    Cheers - Bob
  • Thanks Bob. I am trying to replicate the functionality we have on our SnapGear router, which lets you do this using Agressive Mode and VPN IDs. I note the Astaro appears to only use Main mode.

    I was able to add additional gateways using the same PSK, as suggested. Thanks for the tip. Would be nice if an error message was given, but at least I know now.

    Next thing to try will be whether multiple respond only IPSec VPNs will work using PSK. Perhaps they will need the IP address to distinguish them?

    Appreciate your help - my knowledge of IPsec is only fairly basic.
  • Well, I'm no guru with IPSec, but I have done battle with it several times.  It turns out that Aggressive mode is less secure because the key is exchanged in clear text (at least, that's what I recall), I suspect that's why Astaro doesn't support it.

    They also suggest using certificates as preferable for site-to-site because that provides better security.  If you are working with a fixed site, maybe you can setup DynDNS so that you can use 'initiate connection' instead of 'Respond only'.

    Cheers - Bob
Reply
  • Well, I'm no guru with IPSec, but I have done battle with it several times.  It turns out that Aggressive mode is less secure because the key is exchanged in clear text (at least, that's what I recall), I suspect that's why Astaro doesn't support it.

    They also suggest using certificates as preferable for site-to-site because that provides better security.  If you are working with a fixed site, maybe you can setup DynDNS so that you can use 'initiate connection' instead of 'Respond only'.

    Cheers - Bob
Children