west:~#
 TZ=GMT export TZ
west:~#
 ipsec spi --clear
west:~#
 ipsec eroute --clear
west:~#
 enckey=0xaaaabbbbccccdddd4043434545464649
west:~#
 authkey=0x8765876587658765876587658765876587658765
west:~#
 ipsec klipsdebug --set pfkey
west:~#
 ipsec klipsdebug --set rcv
west:~#
 ipsec spi --af inet --edst 192.1.2.45 --spi 0xded12345 --proto esp --src 192.1.2.23 --esp twofish-sha1-96 --enckey $enckey --authkey $authkey
west:~#
 ipsec spi --af inet --edst 192.1.2.45 --spi 0xded12345 --proto tun --src 192.1.2.23 --dst 192.1.2.45 --ip4
west:~#
 ipsec spigrp inet 192.1.2.45 0xded12345 tun inet 192.1.2.45 0xded12345 esp 
west:~#
 ipsec tncfg --attach --virtual ipsec0 --physical eth1
west:~#
 ifconfig ipsec0 inet 192.1.2.45 netmask 0xffffff00 broadcast 192.1.2.255 up
west:~#
 ipsec look
west NOW
ipsec0->eth1 mtu=16260(1500)->1500
esp0xded12345@192.1.2.45 ESP_TWOFISH_HMAC_SHA1: dir=in  src=192.1.2.23 iv_bits=128bits iv=0xDEADF00DDEADF00DDEADF00DDEADF00D alen=160 aklen=160 eklen=128 life(c,s,h)= natencap=none natsport=0 natdport=0 refcount=4 ref=4
tun0xded12345@192.1.2.45 IPIP: dir=in  src=192.1.2.23 life(c,s,h)= natencap=none natsport=0 natdport=0 refcount=4 ref=5
ROUTING TABLE
west:~#
 route add -host 192.0.2.1 gw 192.1.2.23 dev ipsec0

