SourceForge.net Logo

E.8. vpn-client:/etc/sysconfig/ipsec/setkey.conf

#!/sbin/setkey -f

# GPL $Id: setkey,v 1.1.1.1 2005/02/28 18:22:49 cvonk Exp $
# run-time script for IPsec client (racoon)

flush;
spdflush;

spdadd 10.0.1.111 10.0.1.1 any -P out ipsec
    esp/transport//require;

Example E.8. vpn-client:/etc/sysconfig/ipsec/setkey.conf