Re: Cisco PIX/ASA VPN client

From: Craig Boston <cb_at_severious.net>
Date: Mon, 20 Aug 2007 15:00:19 -0500
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.

> Who knows if it is possible to use vpnc with CURRENT? Or may be I have
> to use another approach to solve my task? 

I use vpnc quite a bit on CURRENT, and it works quite well, with the
exception of fighting with dhclient over the resolv.conf file.  (I
know about exit hooks, but then I forget to remove them and wonder why
DNS isn't working).

Craig
Received on Mon Aug 20 2007 - 18:00:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:16 UTC