1 # $KAME: racoon.conf.in,v 1.17 2001/08/14 12:10:22 sakane Exp $
3 # "path" must be placed before it is used.
4 # You can overwrite what you defined, but it should not be used due to confusion.
5 path include "/etc/racoon" ;
7 # search this file for pre_shared_key with various ID key.
8 path pre_shared_key "/etc/racoon/psk.txt" ;
10 # racoon will look for certificate file in the directory,
11 # if the certificate/certificate request payload is received.
12 path certificate "/etc/cert" ;
14 # "log" specifies logging level. It is followed by either "notify", "debug"
18 # "padding" defines some parameter of padding. You should not touch these.
21 maximum_length 20; # maximum padding length.
22 randomize off; # enable randomize length.
23 strict_check off; # enable strict check.
24 exclusive_tail off; # extract last one octet.
27 # if no listen directive is specified, racoon will listen to all
28 # available interface addresses.
32 #isakmp 202.249.11.124 [500];
33 #admin [7002]; # administrative's port by kmpstat.
34 #strict_address; # required all addresses must be bound.
37 # Specification of default various timer.
40 # These value can be changed per remote node.
41 counter 10; # maximum trying count to send.
42 interval 3 sec; # interval to resend (retransmit)
43 persend 1; # the number of packets per a send.
45 # timer for waiting to complete each phase.
49 # Auto exit delay timer - for use when controlled by VPN socket
50 auto_exit_delay 3 sec;
54 # anonymous entry is defined in /etc/racoon/remote/anonymous.conf
58 # #exchange_mode main,aggressive;
59 # exchange_mode aggressive,main;
61 # situation identity_only;
63 # #my_identifier address;
64 # my_identifier user_fqdn "macuser@localhost";
65 # peers_identifier user_fqdn "macuser@localhost";
66 # #certificate_type x509 "mycert" "mypriv";
69 # lifetime time 1 min; # sec,min,hour
72 # proposal_check obey; # obey, strict or claim
75 # encryption_algorithm 3des;
76 # hash_algorithm sha1;
77 # authentication_method pre_shared_key ;
84 #exchange_mode main,aggressive;
85 exchange_mode aggressive,main;
87 situation identity_only;
89 my_identifier user_fqdn "macuser@localhost";
90 peers_identifier user_fqdn "macuser@localhost";
91 #certificate_type x509 "mycert" "mypriv";
94 lifetime time 1 min; # sec,min,hour
97 encryption_algorithm 3des;
99 authentication_method pre_shared_key ;
105 # anonymous entry is defined in /etc/racoon/remote/anonymous.conf
110 # lifetime time 30 sec;
111 # encryption_algorithm aes, 3des ;
112 # authentication_algorithm hmac_sha1;
113 # compression_algorithm deflate ;
116 # sainfo address 203.178.141.209 any address 203.178.141.218 any
119 # lifetime time 30 sec;
120 # encryption_algorithm des ;
121 # authentication_algorithm hmac_md5;
122 # compression_algorithm deflate ;
125 sainfo address ::1 icmp6 address ::1 icmp6
128 lifetime time 60 sec;
129 encryption_algorithm 3des, aes ;
130 authentication_algorithm hmac_sha1, hmac_md5 ;
131 compression_algorithm deflate ;
134 # Allow third parties the ability to specify remote and sainfo entries
135 # by including all files matching /var/run/racoon/*.conf
136 # This line should be added at the end of the racoon.conf file
137 # so that settings such as timer values will be appropriately applied.
138 include "/var/run/racoon/*.conf" ;