openvpn logging
This commit is contained in:
parent
0359de62c1
commit
a1c5b3132b
|
@ -58,11 +58,13 @@ vpn_variables=(MY_EMAIL_ADDRESS
|
||||||
VPN_TLS_PORT)
|
VPN_TLS_PORT)
|
||||||
|
|
||||||
function logging_on_vpn {
|
function logging_on_vpn {
|
||||||
echo -n ''
|
sed -i 's|status .*|status /var/log/openvpn.log|g' /etc/openvpn/server.conf
|
||||||
|
systemctl restart openvpn
|
||||||
}
|
}
|
||||||
|
|
||||||
function logging_off_vpn {
|
function logging_off_vpn {
|
||||||
echo -n ''
|
sed -i 's|status .*|status /dev/null|g' /etc/openvpn/server.conf
|
||||||
|
systemctl restart openvpn
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_interactive_vpn {
|
function install_interactive_vpn {
|
||||||
|
|
Loading…
Reference in New Issue