diff options
author | jim-p <jimp@pfsense.org> | 2011-06-20 16:06:26 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-06-20 16:06:26 -0400 |
commit | 90ecc0b62f8b363d9497b4754133738edb9bc633 (patch) | |
tree | 24a64b6de753be98847d3b64f84938e473e9a856 | |
parent | c880d03296fd49776acc983664e17bee2792fbc3 (diff) | |
download | pfsense-90ecc0b62f8b363d9497b4754133738edb9bc633.zip pfsense-90ecc0b62f8b363d9497b4754133738edb9bc633.tar.gz |
Disable state killing in VPN down scripts.
-rwxr-xr-x | usr/local/sbin/ovpn-linkdown | 2 | ||||
-rwxr-xr-x | usr/local/sbin/ppp-linkdown | 2 | ||||
-rwxr-xr-x | usr/local/sbin/vpn-linkdown | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/sbin/ovpn-linkdown b/usr/local/sbin/ovpn-linkdown index 112317f..b300aed 100755 --- a/usr/local/sbin/ovpn-linkdown +++ b/usr/local/sbin/ovpn-linkdown @@ -1,5 +1,5 @@ #!/bin/sh -/sbin/pfctl -b $4 -b $5 +# /sbin/pfctl -b $4 -b $5 # delete the node just in case mpd cannot do that /bin/rm -f /var/etc/nameserver_$1 /bin/rm -f /tmp/$1_router diff --git a/usr/local/sbin/ppp-linkdown b/usr/local/sbin/ppp-linkdown index f6a78b9..1170d2f 100755 --- a/usr/local/sbin/ppp-linkdown +++ b/usr/local/sbin/ppp-linkdown @@ -6,7 +6,7 @@ fi if [ -f "/tmp/${interface}_defaultgw" ]; then route delete default $4 fi -/sbin/pfctl -b $3 -b $4 +# /sbin/pfctl -b $3 -b $4 # delete the node just in case mpd cannot do that /usr/sbin/ngctl shutdown $1: if [ -f "/var/etc/nameserver_$1" ]; then diff --git a/usr/local/sbin/vpn-linkdown b/usr/local/sbin/vpn-linkdown index e67a8a0..1d533cb 100755 --- a/usr/local/sbin/vpn-linkdown +++ b/usr/local/sbin/vpn-linkdown @@ -2,4 +2,4 @@ # record logout /usr/bin/logger -p local3.info "logout,$1,$4,$5" -/sbin/pfctl -b $3 -b $4 +# /sbin/pfctl -b $3 -b $4 |