Skip to content

Instantly share code, notes, and snippets.

@jacoelho
Created November 17, 2015 13:41
Show Gist options
  • Save jacoelho/dbb77a3e2a8d54479f64 to your computer and use it in GitHub Desktop.
Save jacoelho/dbb77a3e2a8d54479f64 to your computer and use it in GitHub Desktop.
log notify;
path pre_shared_key "/etc/racoon/psk.txt";
remote anonymous {
exchange_mode main;
proposal {
encryption_algorithm aes_256;
hash_algorithm sha1;
authentication_method pre_shared_key;
dh_group modp1024;
}
generate_policy off;
lifetime time 12 hour;
}
sainfo anonymous{
pfs_group 2;
encryption_algorithm aes_256;
authentication_algorithm hmac_sha1;
compression_algorithm deflate;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment