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

jggimi,

I made the settings like this

Quote:
ike esp from 100.100.100.10 to 200.200.200.10 \
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 192.168.10.0/24 to 192.168.31.0/24 peer 200.200.200.10
ike esp from 100.100.100.10 to 192.168.31.0/24 peer 200.200.200.10
ike esp from 100.100.100.10 to 200.200.200.10
When I try to load the settings with ipsecctl -f /etc/ipsec.conf it shows the following error

Quote:
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