You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash
|
|
ip route add 192.168.5.27/32 dev eth0
|
|
ip route add 192.168.0.0/16 via 192.168.5.27 dev eth0
|
|
set -e
|
|
[ -f /etc/openvpn/up.sh ] && /etc/openvpn/up.sh "$@"
|
|
if [ -z "`ps | grep ' sockd ' | grep -v grep`" ]; then
|
|
/usr/sbin/sockd -D;
|
|
else
|
|
echo SOCKD already running!;
|
|
fi
|