LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


LinkBack Search this Thread
Old 03-18-2005, 03:33 PM   #1
LQ Newbie
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
IPSEC/L2TP VPN Server on Fedora Core 3 using Kernel 2.6


I am wondering if any VPN experts out there would be able to assist me in configuring my Fedora Core 3 router for allowing VPN access through L2TP/IPSEC. I would like to use the built in support in the 2.6 Kernel --- but because this is fairly new technology the documentation on how to make this work is sparse at best.

I would like to be able to connect to the VPN from Windows 2000/XP laptops that will be on the road (i.e. dynamic IP addreses) using either a shared secret or X.509 certificate.

Any help on this would be excellent, as I would love to demonstrate to management at my company the awesome power of Linux and how much money open source software can save us over using competing products (read: Windows Server).

Old 03-27-2005, 04:06 AM   #2
LQ Newbie
Registered: Mar 2005
Posts: 1

Rep: Reputation: 0
IPSEC/L2TP VPN Server on Fedora Core 3 using Kernel 2.6

use openswan, l2tpd, pppd, radiusclient,
go tro jacco de lucew's page on l2tpd/ipsec vpn ..he is the definitive guide on this..
Old 03-27-2005, 04:14 PM   #3
LQ Newbie
Registered: Mar 2005
Posts: 2

Original Poster
Rep: Reputation: 0
I actually got it working! I am very pleased with the results!
Old 04-21-2005, 10:55 AM   #4
LQ Newbie
Registered: Apr 2005
Location: Toronto
Posts: 1

Rep: Reputation: 0

Glad to see that you got it working.

I just try to do they same thing. However, I might have missed something in my configuration.

Here is my setup:
|eth1 =
| Host A | ppp0 =
|eth0 =
|IP Addr:
| Host B | ppp0 =

Host A is running Linux FC3. It had eth1 =; eth0 =

Host B is running Windows XP. Its IP address is

The ppp0 of the point-to-point connection established between them using OpenSwanIPSec and L2tpd was on the host A end and on the host B end.

# netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface * UH 0 0 0 ppp0 UGH 0 0 0 eth0 * U 0 0 0 eth0 * U 0 0 0 eth1 UG 0 0 0 eth1 * U 0 0 0 eth1
default UG 0 0 0 eth0

# arp -a
? ( at 00:11:22:33:44:55 [ether] on eth1
? ( at 55:44:33:22:11:00 [ether] on eth0
? ( at * PERM PUP on eth1

The routing table and the arp table seem to be correct. Communications between host A and host B is OK. All host in network could ping However, there seemed to be a barrier between eth1 and ppp0. Hosts other than A in netwrok could not access host B and host B could not reach any host in network other than host A. I had disabled all the firewalls to make sure no packets would be blocked.

Moreover, I found that even I had defined "type=tunnel" in the /etc/ipsec.conf file, the "ipsec setup status" command showed "No tunnels up":

# ipsec setup status
IPsec running
pluto pid 12931
No tunnels up

Would you be so kind to advise what I would have done wrong? Thank you so much.


Last edited by Robert80; 04-22-2005 at 08:28 AM.


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
L2TP VPN client (Mandrake) Fernanda Linux - Networking 1 01-22-2006 07:43 AM
IPsec/L2TP VPN question IPsecLearner Linux - Networking 3 04-19-2005 11:32 AM
How to install VPN server on fedora core 2 happyskyzl Linux - Networking 0 10-05-2004 08:50 PM
How to install VPN server base on fedora core 2 happyskyzl Linux - Networking 0 10-03-2004 09:35 PM
L2TP VPN connections to an ISA Server kendoucet Linux - Networking 0 03-24-2004 08:07 AM

All times are GMT -5. The time now is 08:20 AM.

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