Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I would very much like to connect to a VPN network which have these info:

host: example.com
user: my_name
pass: my_pass

group: VPN1
key: secret_passphrase

It uses Preshared key and Xauth.

Can I connect to this VPN from my Linux desktop, and if so, how? =)

share|improve this question
add comment

4 Answers

up vote 2 down vote accepted

There is a couple of IPSec compatible VPN client:

  • openswan
  • ike
  • vpnc
  • official cisco linux client

They all work well depending of the IPSec server. There is even a GUI for VPNC that integrate into Ubuntu network manager.

Official Cisco client is harder to install, require kernel headers, user-space binaries in 32 bits only. It can be tricky to install this one.

The problems starts with Xauth and Cisco devices when using non-Cisco hardware. I personnaly tried many times with occasional success.

Which distribution you use? Which IPsec server you connect to?

If you have ubuntu, you can give a try to vpn:

sudo apt-get install network-manager-vpnc vpnc

and set a new VPN connection using your configuration.

share|improve this answer
    
It is a juniper SRX firewall that is the VPn server, and my distribution is Fedora 13. I can see that openswan and vpnc are available in Fedora. Which would you recommend given that the IPsec server is a Juniper firewall? –  Sandra Jul 21 '10 at 16:55
    
I do not have personnal experience on newer Juniper firewall, but I had some on older Netscreen firewall (that juniper bought) and back in that time I used ipsec-tools and Linux IPSec internal stacks... but I didn't used Xauth. Good luck! –  bclermont Jul 21 '10 at 16:59
    
Check out Shrewsoft too. Great for end-users and compatible with Netscreen. –  Warner Jul 22 '10 at 4:59
add comment

OpenVPN uses its own SSL-based protocol which is not compatible with IPSEC

share|improve this answer
    
Okay, this was a very vital information you gave there =) I have updated the question accordingly. –  Sandra Jul 21 '10 at 12:54
add comment

The shrewsoft vpn client will be able to connect. http://www.shrew.net/software

share|improve this answer
add comment

I'm using the vpnc (Debian) on most systems. IPSec is the way to go, in my opinion. I wouldn't recommend the frontend, though, because it is sort of confusing if you don't know what you are doing.

They should stick with the correct terms instead of trying to make something user-friendly, which is not supposed to be used by the average Joe anyways.

  • Cisco client: way too much hassle.
  • ike: heard only good stuff about it, but it wasn't in my repository.
  • vpnc: Works fine with anything IPSec based, such as FritzBox, if anybody is interested in that.
  • openvpn: no IPSec support, you do not want that.
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.