No empty .Rs/.Re
[netbsd-mini2440.git] / crypto / dist / ipsec-tools / src / racoon / samples / racoon.conf.sample-inherit
blob9e1185f1021e4324b4ed49da24a37e2be3881952
1 # Id: racoon.conf.sample-inherit,v 1.3 2005/12/13 16:41:07 vanhu Exp
2 # Contributed by: Michal Ludvig <mludvig@suse.cz>, SUSE Labs
4 # This file shows the basic inheritance usage in 'remote' statements.
6 path pre_shared_key "/etc/racoon/psk.txt";
7 path certificate "/etc/racoon";
9 remote anonymous
11         exchange_mode main,aggressive;
12         doi ipsec_doi;
13         situation identity_only;
15         my_identifier asn1dn;
16         certificate_type x509 "my.cert.pem" "my.key.pem";
18         nonce_size 16;
19         initial_contact on;
20         proposal_check strict;  # obey, strict or claim
22         proposal {
23                 encryption_algorithm 3des;
24                 hash_algorithm sha1;
25                 authentication_method rsasig;
26                 dh_group 2;
27         }
30 remote 3ffe:ffff::1 inherit anonymous
32         exchange_mode aggressive;
33         nat_traversal force;
36 remote 3ffe:ffff::1 [8000] inherit 3ffe:ffff::1
38         lifetime time 1 min;    # sec,min,hour
40         proposal {
41                 encryption_algorithm 3des;
42                 hash_algorithm sha1;
43                 authentication_method pre_shared_key;
44                 dh_group 2;
45         }
48 sainfo anonymous
50         pfs_group 2;
51         lifetime time 12 hour;
52         encryption_algorithm aes, 3des;
53         authentication_algorithm hmac_sha1, hmac_md5;
54         compression_algorithm deflate;