How to fix "unexpected KEYWORD, expecting $end [type]"

How to fix "unexpected KEYWORD, expecting $end [type]"

This error is very common and simple which you might get when trying to restart ipsec services. Please follow the below solution in case you get this error   Error: unexpected KEYWORD, expecting $end [type] # service ipsec restart failed to start openswan IKE daemon - the following error occured: can not load config '/etc/ipsec.conf': ... Read more How to fix "unexpected KEYWORD, expecting $end [type]"

How to Fix "192-SHA1(2)_160 pfsgroup=no-pfs"

How to Fix "192-SHA1(2)_160 pfsgroup=no-pfs"

This is a error related to openswan configuration. Once you have up and running ipsec, while trying to connect to sonicwall vpn you might get this error. Error: 002 "sonicwall" #2: initiating Quick Mode PSK+ENCRYPT+TUNNEL+UP+AGGRESSIVE+IKEv2ALLOW+SAREFTRACK {using isakmp#1 msgid:a0d6gf93 proposal=3DES(3)_192-SHA1(2)_160 pfsgroup=no-pfs} 117 "sonicwall" #2: STATE_QUICK_I1: initiate 010 "sonicwall" #2: STATE_QUICK_I1: retransmission; will wait 20s for response ... Read more How to Fix "192-SHA1(2)_160 pfsgroup=no-pfs"

ipsec showhostkey no secrets filename matched "/etc/ipsec.d/*.secrets"

ipsec showhostkey no secrets filename matched "/etc/ipsec.d/*.secrets"

This error you might get while trying to configure openswan and you are unaware of some important steps which you have missed out in the configuration. You are supposed to generate host key for the authentication which is stored in ipsec.secrets file. Error: # ipsec showhostkey --left ipsec showhostkey nss directory showhostkey: /etc/ipsec.d ipsec showhostkey ... Read more ipsec showhostkey no secrets filename matched "/etc/ipsec.d/*.secrets"

How to Fix "Informational Exchange message must be encrypted"

This is the error you might get while configuring Openswan. As I received this error when I was configuring openswan to connect my sonicwall vpn. Error: #1: Informational Exchange message must be encrypted Solution: Make sure you have set these parameters in your Sonicwall  IKE (Phase 1) Proposal DH Group: Group 5 (not 2) Encryption: ... Read more How to Fix "Informational Exchange message must be encrypted"

Openswan configuration on Red Hat5 for Sonicwall

Openswan configuration on Red Hat5 for Sonicwall

I really had to struggle a lot to properly configure Openswan on my Red Hat Linux machine so that I can connect to my Sonicwall firewall. Well for others I will leave the steps and will also provide the links of different pages where you can look for a solution for any error they get ... Read more Openswan configuration on Red Hat5 for Sonicwall