Project

General

Profile

ipsec.conf

dragonfly, 04/22/2006 03:56 PM

Download (431 Bytes)

 
1
flush;
2
spdflush;
3

    
4
add 192.168.20.4 192.168.20.6 ah 15700 -A hmac-md5 "1234567890123456";
5
add 192.168.20.6 192.168.20.4 ah 24500 -A hmac-md5 "1234567890123456";
6

    
7
add 192.168.20.4 192.168.20.6 esp 15701 -E rijndael-cbc "123456789012345678901234";
8
add 192.168.20.6 192.168.20.4 esp 24501 -E rijndael-cbc "123456789012345678901234";
9

    
10
spdadd 192.168.20.4 192.168.20.6 any -P out ipsec 
11
	esp/transport//require
12
	ah/transport//require;
13

    
14