I have just got ipcomp working between 2 hosts as follows:
- Install the ipsec-tools program
- Add the following config to /etc/ipsec-tools.d/peername.conf
spdadd MY_IP PEER_IP any -P out ipsec ipcomp/transport//use;
add MY_IP PEER_IP ipcomp 1000 -m transport -C deflate;spdadd PEER_IP MY_IP any -P in ipsec ipcomp/transport//use;
add PEER_IP MY_IP ipcomp 1000 -m transport -C deflate;