]> git.saurik.com Git - apple/ipsec.git/blob - ipsec-tools/setkey/Sample/sample-policy01.cf
ipsec-332.100.1.tar.gz
[apple/ipsec.git] / ipsec-tools / setkey / Sample / sample-policy01.cf
1 #
2 # This is for basic policy test on loopback.
3 #
4
5 spdflush;
6 spdadd 127.0.0.1 127.0.0.1 icmp
7 -P out ipsec
8 esp/transport//require ;
9 spdadd ::1 ::1 icmp6
10 -P out ipsec
11 esp/transport//require ;
12
13 flush;
14 add 127.0.0.1 127.0.0.1 esp 0x1000
15 -m transport
16 -E des-cbc "kamekame";
17 add ::1 ::1 esp 0x1001
18 -m transport
19 -E des-cbc "hagehage";
20 flush;