# # $Id: pipsecd.conf.sample,v 1.3 1999/08/17 10:15:08 beyssac Exp $ # # Syntax: # # Security Association lines: # # For authentication: # sa spi= auth= [dest=] akey= # : ipah, icmp or udp. # : hmac-md5-96, sha1-md5-96 or hmac-rmd160-96. # : authentication key # # For encryption: # sa spi= enc= [dest=] ekey= # [auth= akey=] [noiv] # : "ipesp" # : blowfish_cbc, cast_cbc, des_cbc, des3_cbc, null. # : encryption key # optional : hmac-md5-96, sha1-md5-96 or hmac-rmd160-96. # optional : authentication key # optional "noiv": use an implicit initialization vector made # from the sequence number (OpenBSD-compatible mode, # untested) # # Common parameters for SA descriptions: # : (optional) REAL IP address of the remote end, # to define a remote SA. # If not included, the SA is considered local. # # Interface lines: # if local_spi= remote_spi= # # : path to the tunnel device for this virtual link # : SPI for the local SA # : SPI for the remote SA # # sa ipah spi=1000 auth=hmac-md5-96 akey=0102030405060708090a0b0c0d0e0f dest=1.2.3.4 sa ipah spi=1000 auth=hmac-md5-96 akey=deadbeefdeadc0deadbeefdeadc0de sa ipesp spi=1001 enc=blowfish_cbc ekey=f1f2f3f4f5f6f7f8f9fafbfcfdfeff dest=5.6.7.8 sa ipesp spi=1001 enc=blowfish_cbc ekey=d00db00fd00d00d00db00fd00dc00e if /dev/tun0 local_spi=1000 remote_spi=1000 if /dev/tun1 local_spi=1001 remote_spi=1001