14 lines
344 B
Bash
Executable File
14 lines
344 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Manage nameserver with resolvconf
|
|
#/etc/openvpn/update-resolv-conf
|
|
|
|
# Manage nameserver with /etc/resolv.conf only
|
|
#/usr/lib/openvpn/down.sh $@
|
|
|
|
# Delete route to internal network
|
|
#/usr/sbin/ip route del 10.5.0.0/24 via 192.168.0.20 dev eth0
|
|
|
|
# Stop services only active while vpn is connected
|
|
/usr/lib/openvpn/vpn-services stop
|