initial commit of bin scripts into git

This commit is contained in:
2023-11-08 13:38:19 +11:00
commit 3735eea3c6
113 changed files with 11631 additions and 0 deletions

7
start_vpn Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash -x
export ODIR=/home/ddp/openvpn
cd $ODIR
DEV=`route -n | grep G | grep -v Gateway | awk ' { print $8 } '`
sudo route add 128.184.218.17 dev $DEV gw 192.168.0.254
sudo openvpn openvpn.conf > $ODIR/log 2>&1 &