Revision dfd9c31d
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 $3/32 -b $4/32 |
|
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 |
Also available in: Unified diff
Just break states based on the remote host ip and not with localip. The later might be the same as address used by other services and might interrupt them