New sequence for installing openvpn with setup of custom scripts
This commit is contained in:
13
seqs/openvpn/vpn-down
Executable file
13
seqs/openvpn/vpn-down
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/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
|
Reference in New Issue
Block a user