masterthesis/openvpn-config/vpnclient.conf

39 lines
844 B
Plaintext
Raw Normal View History

2018-09-03 10:21:39 +02:00
# This is the client configuration
client
# No need to bind on specific interfaces, just send udp packets to the openvpn server
nobind
# Send udp packets to port 1194
port 1194
proto udp
# We're using the layer 3 tunnel device
dev tun
2018-09-19 12:23:33 +02:00
# Specify vpn server
remote vpn-test.inform.hs-hannover.de 1194
2018-09-03 10:21:39 +02:00
# Certificates
ca /etc/openvpn/vpnclient/ca.crt
2018-09-19 12:23:33 +02:00
cert /etc/openvpn/vpnclient/jan-philipp.timme@hs-hannover.de.crt
key /etc/openvpn/vpnclient/jan-philipp.timme@hs-hannover.de.key
2018-09-03 10:21:39 +02:00
# Make sure the server presents a certificate with "server role"
remote-cert-tls server
# Make sure to detect broken sessions
keepalive 10 30
# These are needed for reduced privileges? Probably yes.
persist-key
persist-tun
# Reduced privileges if possible (uncomment and adapt on unix/linux system)
user nobody
2018-09-07 19:21:17 +02:00
group nogroup
2018-09-03 10:21:39 +02:00
# Logging settings
verb 3
mute 5