Configuring VPN connections with Linux clients

Supporting IPsec via the 2.6 Kernel

Make sure you install the right supporting daemons for your connection. If your system uses any version of the 2.6 kernel, it natively supports IPsec, but if you want to use KVpnc or vpnc, you'll still need to install the racoon daemon, which takes care of the key exchange for IPsec implementations. To install racoon, use your native package manager or look online for instructions on building a racoon connection [4].

To support FreeS/WAN, the older IPsec standard, you'll have to install the ipsec daemon. If you fail to install the appropriate daemon, your VPN implementation will fail because it will be impossible for your system to conduct the necessary key exchanges when establishing the tunnel.


Establishing VPN today has gotten much easier, but the GUI VPN clients still don't do it all for you. Although working with Microsoft, Cisco, and OpenVPN servers requires a bit of troubleshooting acumen, if you keep working at it, you'll find success.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • StrongVPN on Ubuntu: Simple VPN Solution That Works
  • OpenVPN

    Firewalls sometimes prohibit everything but everyday surfing, leaving users with no hope of running IRC or streaming servers through the firewall, unless they use a virtual private networking tool like OpenVPN.

  • Security Lessons: OpenSSH VPNs

    OpenSSH VPN technology, installed by default on most Linux, BSD, and Unix systems, lets you mix and match different clients and servers easily.

  • IPv6

    Is the world ready for the next generation Internet Protocol? We take a look at Linux with IPv6.

  • VoIP Security

    Eavesdropping on conversations on a LAN is easier than ever thanks to insecure VoIP installations. You don't need to bug restaurant booths or tap phone lines – standard Linux tools are all a hacker needs.

comments powered by Disqus

Direct Download

Read full article as PDF:

022-026_vpns.pdf  (662.79 kB)