Discussion on:

12
Comments

Join the conversation!

Follow via:
RSS
Email Alert
0 Votes
+ -
Are we talking about OpenVPN or OpenSwan here - they are 2 different things ...
OK there is a mistake at the end but come on.....
0 Votes
+ -
And I knew what you *meant* to say. Just pointing out a needed edit in a rather roundabout fashion happy

Great article, btw. I intend to try it out this evening.
0 Votes
+ -
Also...
paulz1 5th Apr 2007
also,

rpm -qa|grepppp

should be

rpm -qa|grep ppp

this article needs an edit. it was geared toward a non-savvy user implementing it, so anything that can eliminate confusion would be good.
0 Votes
+ -
Chap and psk?
TravisFx 9th Apr 2007
Not exactly the most secure. Can it do any better?
0 Votes
+ -
It is better
jmoore@... 10th Apr 2007
IPSEC is really providing the security. CHAP and the psk are being required by the MS VPN client which uses l2tp. Alternatively, you can use x.509 certificates for authentication. See Nate Carlson's and Jacco de Leeuw's excellent web sites for more detail on setting this up. It took me a while to get it working but it works great now. BTW, I think the package for l2tp is now xl2tpd using yum.
0 Votes
+ -
Dear all,

I am trying with the guide on RHEL4 x386, but i don't know how to download other packages except openswan that i downloaded and installed well on this linux box. If you have a binary package or any ways to help me overcome this. It could be appreciated highly

Thanks,
Bryan De
After installing openswan-2.6.31. I spent many hours trying to resolve the error below when attempting to establish an IPSec tunnel, I found that installing openswan-2.6.30 fixed this error.

Error "030 messge from whack contains bad string"

Below find the steps used to setup openswan on centos 5.5

# wget http://www.openswan.org/download/openswan-2.6.30.tar.gz
tar -xzf openswan-2.6.30.tar.gz
# cd openswan-2.6.30
# make programs
# make install

KLIPS install for 2.0, 2.2, 2.4 or 2.6 kernels (2.6.18-194.3.1.el5-x86_64)

# export KERNELSRC=/usr/src/kernels/2.6.18-194.3.1.el5-x86_64/
# make module
# make module_install
# depmod -a
# modprobe ipsec
# service ipsec start
# chkconfig ipsec on
# ipsec verify

Other errors/fixes

NETKEY detected, testing for disabled ICMP send_redirects [FAILED]

Please disable /proc/sys/net/ipv4/conf/*/send_redirects
or NETKEY will cause the sending of bogus ICMP redirects!

Run
# sudo sysctl -a | grep 'ipv4.conf.*redirect'
should list the variables you need to set. (Note: set them all to 0). in /etc/sysctl.conf

Copy the errors onto /etc/sysctl.conf and set all variables to 0
# vi /etc/sysctl.conf
To process changes
# sysctl -p

# ipsec restart
Plz let me know which Linux OS you are using and kernel version for openswan-2.6.30 and also L2tpd version.And is patching of L2tpd required.
Want to use Ipsec VPN with PSK with Help of Openswan on Fedora core 5.Please suggest.Getting error no 792 while connecting.
Plz suggest any alternet setting for the same
0 Votes
+ -
For providing a VPN solution between IOS devices and linux based VPN servers. I have been struggling with this challenge for awhile. These configs worked for me after making the obvious changes. Thanks again !
Keyboard Shortcuts:
Prev
Next
Toggle
Join the conversation
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.