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