Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    enabling ipsec support in kernel

    Hi everybody,
    I am using FC1 with kernel version 2.4.22-1.2149.nptl

    I am trying configuring VPNs through IPSec.

    I am getting the following error while giving the ipsec verify command

    bash]# ipsec veriy
    Checking for IPsec support in kernel [FAILED]

    bash]#/etc/init.d/ipsec start
    Starting IPsec: Starting Openswan IPsec 2.1.5...
    insmod: ipsec: no module by that name found
    modprobe: Can't locate module af_key
    modprobe: kernel appears to lack KLIPS
    Can't locate module ipsec

    I have tried the kernel compilation, But i didn't find any option regarding ipsec
    (GRE, l2tp are there).

    Is ipsec support there in this kernel or not.

    Please help me in enabling ipsec module support.

    Thanks inadvance,

  2. #2
    I don't know what was compiled into FC1, but KLIPS is in FC3,4,5 by default.

    You enable KLIPS/ipsec you need to "make xconfig" and select "networking" on the left pane. On the right pane select "networking support/networking options".

    Under this you should see &select
    + IPSEC user configuration interface
    + PF_KEY Sockets
    + IP:AH transformation
    + IP:ESP transformation
    + IP:IPComp transformation
    + IP:Tunnel transformation
    I doubt it's necessary but you should check "The IPv6 Protocol" and all the minor items under it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts