All Pages > howto > IPsec > Racoon
Quote from #dn42: hexa: nobody runs racoon on their free will :)
.
See also strongSwan
The keys are generated with plainrsa-gen.
Usage: plainrsa-gen [options]
-b bits Generate <bits> long RSA key (default=1024)
-e pubexp Public exponent to use (default=0x3)
-f filename Filename to store the key to (default=stdout)
-i filename Input source for format conversion
-h Help
I'd probably go with 4096 bits.
in your racoon.conf:
"/etc/racoon/keys";
listen {
[500];
}
{
main;
plain_rsa "local.priv.key";
plain_rsa "remote.pub.key";
proposal {
rsasig;
time 8 hour;
aes256;
sha256;
modp1024;
}
}
certificate