#!/bin/bash

DB='vpn'
DBUSER='openvpn'

mysql -u $DBUSER -e "INSERT INTO log (username, server_mode, remote_ip) VALUES('$common_name', '$config', '$trusted_ip')" $DB

exit 0
