Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2018
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.39 KB | None | 0 0
  1. #!/usr/sbin/setkey -f
  2. #
  3. # THIS IS A SAMPLE FILE!
  4. #
  5. # This is a sample file to test Gentoo's ipsec-tools out of the box.
  6. # Do not use it in production.  See: http://www.ipsec-howto.org/
  7. #
  8. flush;
  9. spdflush;
  10.  
  11. spdadd Y.Y.Y.Y/32 X2.X2.X2.X2/32 any -P out ipsec esp/tunnel/Y.Y.Y.Y-X1.X1.X1.X1/require;
  12. spdadd X2.X2.X2.X2/32 Y.Y.Y.Y/32 any -P in  ipsec esp/tunnel/X1.X1.X1.X1-Y.Y.Y.Y/require;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement