egscripts/egopenvpn/startopenvpn.sh

12 lines
192 B
Bash
Raw Permalink Normal View History

#!/bin/bash
#
# script to fire up openvpn
#
VPN=/usr/sbin/openvpn
CONF=~/.openvpn/client.conf
USER=`whoami`
#
#
echo "starting openvpn client for $USER with config $CONF"
$VPN --config $CONF