You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
560 B

  1. config setup
  2. # needed when using PSK only. Not needed for X.509 based servers
  3. uniqueids=no
  4. virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12,%v4:25.0.0.0/8,%v4:100.64.0.0/10,%v4:!100.64.0.0/24
  5. conn ikev1
  6. authby=secret
  7. pfs=no
  8. auto=add
  9. rekey=no
  10. left=%defaultroute
  11. right=%any
  12. ikev2=never
  13. type=transport
  14. leftprotoport=17/1701
  15. rightprotoport=17/%any
  16. dpddelay=15
  17. dpdtimeout=30
  18. dpdaction=clear
  19. conn ikev1-nat
  20. also=ikev1
  21. rightsubnet=vhost:%priv
  22. # include /etc/ipsec.d/*.conf