summaryrefslogtreecommitdiff
path: root/package/openvpn
diff options
context:
space:
mode:
Diffstat (limited to 'package/openvpn')
-rw-r--r--package/openvpn/files/client.conf13
-rw-r--r--package/openvpn/files/server.conf12
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