Cisco PIX/ASA VPN client

S.N.Grigoriev serguey-grigoriev at yandex.ru
Tue Aug 21 09:49:16 PDT 2007


21.08.07, 00:00, Craig Boston (cb at severious.net) wrote:

> On Mon, Aug 20, 2007 at 10:50:18PM +0400, S.N.Grigoriev wrote:
> > I need to use my 7-CURRENT workstation as an IPSec client for
> > Cisco PIX/ASA devices. I try to use /usr/ports/security/vpnc
> > for this purpose. But when i start vpnc the following error
> > message appears:
> > 
> > socket(PF_INET, SOCK_RAW, IPPROTO_ESP): Protocol not supported
>
> Do you have options IPSEC in your kernel?  I believe this may prevent
> vpnc from sending/receiving the encapsulated packets.  If you're not
> using IPSEC for anything else, removing the option should do the trick.
> Also, make sure that you're running it as root, not only for raw socket
> access but also so it can create the tun device.

Thank you very much, Craig,

I've removed IPSEC options from my kernel config
and now vpnc works fine for me!
The only thing I need to know: if CURRENT IPSec and
vpnc are completely incompatible? If so, how to reproduce
the vpnc behaviour using IPSec?

Regards,
Serguey.


More information about the freebsd-current mailing list