#!

/usr/sbin/setkey -f
# NOTE: Do not use this file if you use racoon with racoon-tool
# utility. racoon-tool will setup SAs and SPDs automatically using
# /etc/racoon/racoon-tool.conf configuration.
#
## Flush the SAD and SPD
#
flush;
spdflush;
## Some sample SPDs for use racoon
#
# spdadd 10.10.100.1 10.10.100.2 any -P out ipsec
# esp/transport//require;
#
# spdadd 10.10.100.2 10.10.100.1 any -P in ipsec
# esp/transport//require;
#
add 192.168.1.148 192.168.1.124 ah 0x200 -A hmac-md5
0xce204a849feed253ddbe7363de67ab74;
add 192.168.1.124 192.168.1.148 ah 0x300 -A hmac-md5
0xb98bd0b82649d03e7d0d166cab608657;

spdadd 192.168.1.148 192.168.1.124 any -P out ipsec ah/transport//require;
spdadd 192.168.1.124 192.168.1.148 any -P in ipsec ah/transport//require;

Sign up to vote on this title
UsefulNot useful