Hi,

I have to setup an IPSec tunnel with a remote gateway, I have configured racoon with a
config file for pre-shared key, but when I launch racoon, in the logs, it starts, I have
two strange error messages, but racoon does not do anything else, il does not connect to
the remote gateway.

is my setup correct ?

here my racoon.conf with modified IP addresses:

path pre_shared_key "/etc/ipsec/psk.txt";

log debug2;

listen { isakmp 192.168.0.1; } # the internal IP address of my server

remote 10.10.10.10 {
       exchange_mode main, base;
       doi ipsec_doi;
       situation identity_only;

       generate_policy on;
      passive off;

       my_identifier address 10.20.30.40; # the public IP from where my server is visible

       lifetime time 8 hour;
       initial_contact on;
       proposal_check obey;
       proposal {
               encryption_algorithm aes 256;
               hash_algorithm sha1;
               authentication_method pre_shared_key;
               dh_group 2;
       }
}

sainfo anonymous {
       lifetime time 1 hour;
       encryption_algorithm aes 256;
       authentication_algorithm hmac_sha1;
       compression_algorithm deflate;
}


and in the psk.txt:
10.10.10.10    some_key

I don't launch any setkey command, but I don't know if it is necessary.

Regards,
Wennael

_@__,