egscripts/egopenvpn/startopenvpn.sh

11 lines
192 B
Bash
Executable file

#!/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