summaryrefslogtreecommitdiff
path: root/docs/configexamples/autotest/OpenVPN_with_LDAP/_include/client.conf
diff options
context:
space:
mode:
authorrebortg <github@ghlr.de>2023-05-10 15:58:06 +0200
committerrebortg <github@ghlr.de>2023-05-10 15:58:44 +0200
commit6c0917208c59d11e0e00ec247756734a80321e67 (patch)
tree250d9307e76b7811ec27e6c93052e9216230d53e /docs/configexamples/autotest/OpenVPN_with_LDAP/_include/client.conf
parent54b34091f439c57f666ec17ab8b5a8f430634ecb (diff)
downloadvyos-documentation-6c0917208c59d11e0e00ec247756734a80321e67.tar.gz
vyos-documentation-6c0917208c59d11e0e00ec247756734a80321e67.zip
Configexample: migrate openvpn-ldap to autotest
Diffstat (limited to 'docs/configexamples/autotest/OpenVPN_with_LDAP/_include/client.conf')
-rw-r--r--docs/configexamples/autotest/OpenVPN_with_LDAP/_include/client.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/configexamples/autotest/OpenVPN_with_LDAP/_include/client.conf b/docs/configexamples/autotest/OpenVPN_with_LDAP/_include/client.conf
new file mode 100644
index 00000000..fb101b12
--- /dev/null
+++ b/docs/configexamples/autotest/OpenVPN_with_LDAP/_include/client.conf
@@ -0,0 +1,10 @@
+set interfaces ethernet eth1 address '198.51.100.1/24'
+set interfaces openvpn vtun1 mode client
+set interfaces openvpn vtun1 remote-host 198.51.100.254
+set interfaces openvpn vtun1 remote-port 1194
+set interfaces openvpn vtun1 protocol udp
+set interfaces openvpn vtun1 tls certificate CLIENT
+set interfaces openvpn vtun1 tls ca-certificate OVPN-CA
+
+set interfaces openvpn vtun1 authentication username 'user01'
+set interfaces openvpn vtun1 authentication password 'P4ssw0rd123' \ No newline at end of file