Return to sample-policy01.cf CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / ipsec-tools / src / setkey |
1.1 ! misho 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;