3 PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
5 # Correctly flush automatically generated SAD and SPD
6 # This should go away the day racoon will properly do the job.
9 deleteall ${REMOTE_ADDR} ${LOCAL_ADDR} esp;
10 deleteall ${LOCAL_ADDR} ${REMOTE_ADDR} esp;
11 spddelete ${INTERNAL_ADDR4}/32[any] 0.0.0.0/0[any] any
12 -P in ipsec esp/tunnel/${REMOTE_ADDR}-${LOCAL_ADDR}/require;
13 spddelete 0.0.0.0/0[any] ${INTERNAL_ADDR4}/32[any] any
14 -P out ipsec esp/tunnel/${LOCAL_ADDR}-${REMOTE_ADDR}/require;