diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2011-12-03 11:18:48 +0100 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2011-12-03 11:18:48 +0100 |
commit | 8142286c22addb4ace24e2254c01d2800aa842fc (patch) | |
tree | 030386a73c5693931cbdedb567fcf939ca420ded /package | |
parent | f51f99738b14d53a8da57f1972fbe84ac35d9a2a (diff) |
add better examples for server and client
Diffstat (limited to 'package')
-rw-r--r-- | package/openvpn/files/client.conf | 13 | ||||
-rw-r--r-- | package/openvpn/files/server.conf | 12 |
2 files changed, 25 insertions, 0 deletions
diff --git a/package/openvpn/files/client.conf b/package/openvpn/files/client.conf new file mode 100644 index 000000000..6792d236a --- /dev/null +++ b/package/openvpn/files/client.conf @@ -0,0 +1,13 @@ +remote server.domain.tld +tls-client +dev tun +port 1194 +proto udp +nobind +pkcs12 client.p12 +dh dh1024.pem +persist-tun +persist-key +comp-lzo +pull +verb 3 diff --git a/package/openvpn/files/server.conf b/package/openvpn/files/server.conf new file mode 100644 index 000000000..2ec86387d --- /dev/null +++ b/package/openvpn/files/server.conf @@ -0,0 +1,12 @@ +dev tun +proto udp +port 1194 +server 10.10.0.0 255.255.0.0 +dh /etc/easy-rsa/keys/dh1024.pem +pkcs12 /etc/easy-rsa/keys/server.p12 +persist-tun +persist-key +keepalive 10 60 +verb 3 +comp-lzo +crl-verify /etc/easy-rsa/keys/crl.pem |