rych-openvpn/scripts/logoff.sh

7 lines
409 B
Bash
Executable File

#!/bin/bash
echo logoff ${common_name} ${trusted_ip} ${proto_1} ${local_port_1} ${remote_port_1} $(date) ${bytes_sent} ${bytes_received} >> /opt/openvpn/log/logon.log
echo logoff ${common_name} ${trusted_ip} ${proto_1} ${local_port_1} ${remote_port_1} $(date) ${bytes_sent} ${bytes_received} >> /opt/openvpn/log/${common_name}.log
# ARP Eintrag loeschen
#/sbin/arp -i br0 -d ${ifconfig_pool_remote_ip}
exit 0