Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > The Linux Kernel > enabling ipsec support in kernel

Forgot Password?
 The Linux Kernel   Compiling, theory, programming or other discussion about the linux kernel

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 06-12-2006   #1 (permalink)
Linux Newbie
 
Join Date: Jul 2004
Posts: 144
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
[FAILED]


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,
Mummaneni.
mummaneni is offline  


Reply With Quote
Old 06-17-2006   #2 (permalink)
Just Joined!
 
Join Date: Jun 2006
Posts: 22
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.
SteveA is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 01:29 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2