Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
399
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. # racoon.conf for use with Check Point VPN-1/Firewall-1
  2. #
  3. # search this file for pre_shared_key with various ID key.
  4. #
  5. path pre_shared_key "/etc/racoon/psk.txt" ;
  6. log debug;
  7. #
  8. # "padding" defines some parameter of padding. You should not touch these.
  9. #
  10. padding {
  11. maximum_length 20; # maximum padding length.
  12. randomize off; # enable randomize length.
  13. strict_check off; # enable strict check.
  14. exclusive_tail off; # extract last one octet.
  15. }
  16.  
  17. listen {
  18. #isakmp ::1 [7000];
  19. #isakmp 0.0.0.0 [500];
  20. #admin [7002]; # administrative port by kmpstat.
  21. #strict_address; # required all addresses must be bound.
  22. }
  23. #
  24. # Specification of default various timers.
  25. #
  26. timer {
  27. #
  28. # These values can be changed per remote node.
  29. #
  30. counter 5; # maximum trying count to send.
  31. interval 20 sec; # maximum interval to resend.
  32. persend 1; # the number of packets per a send.
  33. #
  34. # timer for waiting to complete each phase.
  35. #
  36. phase1 30 sec;
  37. phase2 15 sec;
  38. }
  39.  
  40. remote 82.XXX.XXX.XXX {
  41. exchange_mode aggressive,main; # For Firewall-1 Aggressive mode
  42.  
  43. #my_identifier address;
  44. #my_identifier user_fqdn "vpn_nbs@client.com";
  45. my_identifier address "194.XXX.XXX.XXX";
  46. peers_identifier address "82.XXX.XXX.XXX";
  47. #certificate_type x509 "" "";
  48.  
  49. nat_traversal on;
  50.  
  51. #script "/etc/racoon/vpn1-ipsec.sh" phase1_up;
  52.  
  53. nonce_size 16;
  54. lifetime time 1 hour; # sec,min,hour
  55. # lifetime byte 5 MB; # B,KB,GB
  56. initial_contact on;
  57. # support_mip6 on;
  58. proposal_check obey; # obey, strict or claim
  59.  
  60. proposal {
  61. encryption_algorithm 3des;
  62. hash_algorithm md5;
  63. authentication_method pre_shared_key;
  64. dh_group 2 ;
  65. }
  66. }
  67.  
  68. sainfo anonymous {
  69. pfs_group 2;
  70. lifetime time 1 hour;
  71. # lifetime byte 50000 KB;
  72. encryption_algorithm 3des;
  73. authentication_algorithm hmac_sha1;
  74. compression_algorithm deflate ;
  75. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement