Playbooks to a new Lilik
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.

19 lines
575 B

8 years ago
8 years ago
8 years ago
  1. config openvpn 'vpn'
  2. option enabled '1'
  3. option verb '3'
  4. option port '777'
  5. option proto 'tcp'
  6. option dev 'tun'
  7. option server '10.8.0.0 255.255.255.0'
  8. option topology 'subnet'
  9. option keepalive '10 120'
  10. option dh 'none'
  11. option ca '/etc/openvpn/user_ca.crt'
  12. option cert '/etc/openvpn/openvpn.crt'
  13. option key '/etc/openvpn/openvpn.key'
  14. option tls_version_min '1.3'
  15. option cipher 'AES-256-GCM'
  16. option remote_cert_tls 'client'
  17. {% for route in routes %}
  18. list push 'route {{ route }}'
  19. {% endfor %}