Revision f0be3768
Added by Ermal LUÇI almost 14 years ago
usr/local/sbin/vpn-linkdown | ||
---|---|---|
2 | 2 |
|
3 | 3 |
# record logout |
4 | 4 |
/usr/bin/logger -p local3.info "logout,$1,$4,$5" |
5 |
/sbin/pfctl -b 0.0.0.0/32 -b $4/32 |
|
6 |
/sbin/pfctl -k $4/32 |
|
7 |
/sbin/pfctl -k 0.0.0.0/32 $4/32 |
|
8 |
/sbin/pfctl -K $4/32 |
|
9 |
/sbin/pfctl -K 0.0.0.0/32 -K $4/32 |
|
5 |
/sbin/pfctl -i $1 -b 0.0.0.0/32 -b $4/32 |
|
6 |
/sbin/pfctl -i $1 -k $4/32 |
|
7 |
/sbin/pfctl -i $1 -k 0.0.0.0/32 $4/32 |
|
8 |
/sbin/pfctl -i $1 -K $4/32 |
|
9 |
/sbin/pfctl -i $1 -K 0.0.0.0/32 -K $4/32 |
Also available in: Unified diff
Bind the state killing to the interface they should kill the states so that it does not impact other services like in #1421