#!/bin/sh
#
# RCSID $Id: tice,v 1.1.1.1 2004/08/17 13:06:27 ysc Exp $
#
# This script is OBSOLETE -- rgb, May 6th, 1998

tncfg attach ipsec0 eth0
ifconfig ipsec0 10.2.0.139 netmask 255.255.0.0
route add -net 10.1.0.0 netmask 255.255.0.0 dev ipsec0

# forward path

../utils/addrt 10.3.0.0 255.255.0.0 10.1.0.0 255.255.0.0 10.2.0.143 113
echo sleeping after addrt
sleep 1

../utils/setsa 10.2.0.143 113 ip4 10.2.0.139 10.2.0.143
../utils/setsa 10.2.0.143 115 esp des-cbc 66306630 6630663066303132
../utils/setsa 10.2.0.143 116 ah md5 66306630663031326630663066303132

../utils/spigrp 10.2.0.143 113 10.2.0.143 115 10.2.0.143 116

# return path

../utils/setsa 10.2.0.139 105 esp des-cbc 66306630 6630663066303132
../utils/setsa 10.2.0.139 106 ah md5 66306630663031326630663066303132

#
# $Log: tice,v $
# Revision 1.1.1.1  2004/08/17 13:06:27  ysc
#
# openswan initial version
#
# Revision 1.1.1.1  2004/07/19 18:13:14  kennylin
#
# Initial Contact!
#
# Revision 1.1.1.1  2002/09/05 03:13:18  ken
# 1.98b
#
# Revision 1.3  1999/04/06 04:54:35  rgb
# Fix/Add RCSID Id: and Log: bits to make PHMDs happy.  This includes
# patch shell fixes.
#
#
