LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 06-08-2005, 12:16 PM   #1
eagle683
Member
 
Registered: May 2005
Posts: 38

Rep: Reputation: 15
IPSec


Hello all,

I'm trying to install IPSec on my computer, and am not exactly sure where I am going wrong.

http://www.redhat.com/docs/manuals/e...host2host.html

That webpage is what I am trying to step through to set up a connection.

Everything looks the exact same up to the racoon.conf file.

Then when I try to use ifup ipsec0, the connection fails to be made.

The first time I tried it, it told me missing ifcfg-ifcfg file, so I created ifcfg-ifcfg-ipsec0 instead of ifcfg-ipsec0, and now it tells me nothing, except prints out the usage of the command like I am doing something wrong.

Specifically, it gives me

Usage: grep [OPTION]...PATTERN [FILE]...
Try 'grep --help' for more information.
Usage: grep [OPTION]...PATTERN [FILE]...
Try 'grep --help' for more information.
ethtool version 1.8
Usage:
ethtool DEVNAME
ethtool -a DEVNAME
ethtool -A DEVNAME\
[autoneg on|off ]\

.....

ethtool -S DEVNAME



if anyone has any input on this problem, I would be very grateful

Thanks in advance

Eagle
 
Old 06-08-2005, 04:45 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
well as the docs say there, it's /.../ifcfg-ipsec0 tha you need. if that's there, then maybe you have a syntax issue in the file, which is managing to break the script in two and giving those grep errors. can we see it?
 
Old 06-09-2005, 06:22 PM   #3
eagle683
Member
 
Registered: May 2005
Posts: 38

Original Poster
Rep: Reputation: 15
All I dd, while trying IPSec out is copy and paste it directly from the webpage. I am going to end up changing values, etc. afterwards

Any other ideas?

Although, I've kinda given up on that and am concentrating on just going at what I really have to do - which is connect a Linux computer and a Windows 2000 computer by IPSec. Which I am also having trouble with, but I think I understand where I may be going wrong - you may see a topic soon about that, though.

Eagle
 
Old 06-09-2005, 07:19 PM   #4
eagle683
Member
 
Registered: May 2005
Posts: 38

Original Poster
Rep: Reputation: 15
IPSec between Windows and Linux

Windows 2000 Professional
Linux Redhat Release 3, Kernel 2.4.12

The computers are "negotiating ip security", but they don't connect.

One reason where I think it might be faulting is on the redhat there is an authentication key and an encryption key, while on Windows I am only using one key.

Any tips?

Eagle
 
Old 06-09-2005, 09:12 PM   #5
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
//Merging this thread with your other one on IPSec (there really about the same thing).
 
Old 06-10-2005, 10:53 AM   #6
eagle683
Member
 
Registered: May 2005
Posts: 38

Original Poster
Rep: Reputation: 15
anything?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nat ipsec Datacenter1 Linux - Networking 0 08-25-2005 09:43 AM
IPsec cranium2004 Linux - Security 5 05-01-2005 08:21 PM
ipsec?? new user Linux - Security 5 08-18-2003 11:37 PM
Ipsec MarleyGPN Linux - Networking 1 07-15-2003 08:18 AM
ipsec pk21 Linux - Software 2 01-30-2003 06:39 AM


All times are GMT -5. The time now is 07:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration