Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2018
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.92 KB | None | 0 0
  1. cat /etc/racoon/racoon.conf
  2. # THIS IS A SAMPLE FILE!
  3. #
  4. # This is a sample file to test Gentoo's ipsec-tools out of the box.
  5. # Do not use it in production.  See: http://www.ipsec-howto.org/
  6. #
  7. path pre_shared_key "/etc/racoon/psk.txt";
  8.  
  9. #
  10. # Make sure to switch 192.168.3.21 <-> 192.168.3.25 on the peer
  11. #
  12. #remote 192.168.3.25
  13. remote X1.X1.X1.X1
  14. {
  15.         exchange_mode main;
  16.         proposal {
  17.                 encryption_algorithm 3des;
  18.                 hash_algorithm sha1;
  19.                 authentication_method pre_shared_key;
  20.                 dh_group 2;
  21.         }
  22. }
  23.  
  24. #
  25. # Make sure to switch 192.168.3.21 <-> 192.168.3.25 on the peer
  26. #
  27. #sainfo address 192.168.3.21 any address 192.168.3.25 any
  28. sainfo address Y.Y.Y.Yany address X1.X1.X1.X1 any
  29. {
  30.         pfs_group modp768;
  31.         encryption_algorithm 3des;
  32.         authentication_algorithm hmac_sha1;
  33.         compression_algorithm deflate;
  34. }
  35.  
  36. log debug;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement