Thread: Help with IPSEC
View Single Post
Old 24th April 2017
roggy roggy is offline
Port Guard
Join Date: Nov 2013
Posts: 41


I made the settings like this

ike esp from to \
main auth hmac-sha2-256 enc aes-256 lifetime 86400 \
quick auth hmac-sha1 enc aes-128 lifetime 3600 \
psk abc123.,2333

ike esp from to peer
ike esp from to peer
ike esp from to
When I try to load the settings with ipsecctl -f /etc/ipsec.conf it shows the following error

root@server~# ipsecctl -f /etc/ipsec.conf
/etc/ipsec.conf: 33: syntax error
ipsecctl: Syntax error in config file: ipsec rules not loaded
Is there a character limitation to set in the password?
Reply With Quote