File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / ipsec-tools / src / setkey / sample-policy01.cf
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 22:39:10 2012 UTC (12 years, 10 months ago) by misho
Branches: ipsec-tools, MAIN
CVS tags: v0_8_2p2, v0_8_1p0, v0_8_1, v0_8_0p0, v0_8_0, HEAD
ipsec-tools

#
# This is for basic policy test on loopback.
#

spdflush;
spdadd 127.0.0.1 127.0.0.1 icmp
	-P out ipsec
	esp/transport//require ;
spdadd ::1 ::1 icmp6
	-P out ipsec
	esp/transport//require ;

flush;
add 127.0.0.1 127.0.0.1 esp 0x1000
	-m transport
	-E des-cbc "kamekame";
add ::1 ::1 esp 0x1001
	-m transport
	-E des-cbc "hagehage";
flush;

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>