New sequence for installing openvpn with setup of custom scripts
This commit is contained in:
22
seqs/openvpn/my.conf
Normal file
22
seqs/openvpn/my.conf
Normal file
@@ -0,0 +1,22 @@
|
||||
# Set output verbosity (3 recommended by openvpn)
|
||||
# 0 -- No output except fatal errors.
|
||||
# 1 to 4 -- Normal usage range.
|
||||
# 5 -- Output R and W characters to the console for each packet read
|
||||
# and write, uppercase is used for TCP/UDP packets and lowercase is
|
||||
# used for TUN/TAP packets.
|
||||
# 6 to 11 -- Debug info range (see errlevel.h for additional informtion
|
||||
verb 1
|
||||
|
||||
# Always add custom nameserver
|
||||
#dhcp-option DNS 208.67.222.222
|
||||
#dhcp-option DNS 84.200.69.80
|
||||
|
||||
# Mute common false alarm on WiFi networks
|
||||
mute-replay-warnings
|
||||
|
||||
# Allow openvpn to call user defined scripts
|
||||
script-security 2
|
||||
|
||||
# Execute our custom up and down scripts
|
||||
up /usr/lib/openvpn/vpn-up
|
||||
down /usr/lib/openvpn/vpn-down
|
Reference in New Issue
Block a user