Advertisement
Guest User

racoon.conf

a guest
Oct 1st, 2014
471
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. listen
  2. {
  3. adminsock "/var/db/racoon/racoon.sock" "root" "wheel" 0660;
  4. isakmp <gateway ip> [500];
  5. isakmp_natt <gateway ip> [4500];
  6. }
  7.  
  8.  
  9. mode_cfg
  10. {
  11. auth_source external;
  12. group_source system;
  13. pool_size 253;
  14. network4 192.168.21.1;
  15. netmask4 255.255.255.0;
  16. dns4 8.8.8.8;
  17. dns4 8.8.4.4;
  18. default_domain "localdomain";
  19. split_dns "localdomain";
  20. banner "/var/etc/ipsec/racoon.motd";
  21. save_passwd on;
  22. }
  23.  
  24. remote anonymous
  25. {
  26. ph1id 3;
  27. exchange_mode aggressive;
  28. my_identifier address <gateway ip>;
  29. peers_identifier user_fqdn "<username@domain>";
  30.  
  31. ike_frag on;
  32. generate_policy = unique;
  33. initial_contact = off;
  34. nat_traversal = force;
  35.  
  36.  
  37.  
  38.  
  39. support_proxy on;
  40. proposal_check obey;
  41. passive on;
  42.  
  43. proposal
  44. {
  45. authentication_method xauth_psk_server;
  46. encryption_algorithm aes 256;
  47. hash_algorithm sha1;
  48. dh_group 2;
  49. lifetime time 28800 secs;
  50. }
  51. }
  52.  
  53. sainfo anonymous
  54. {
  55. remoteid 3;
  56. encryption_algorithm aes 256;
  57. authentication_algorithm hmac_sha1;
  58.  
  59. lifetime time 3600 secs;
  60. compression_algorithm deflate;
  61. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement