PDA

View Full Version : [ubuntu] VPN software.



A_M_S
February 20th, 2010, 01:55 AM
Hello.

What are the best VPN programs available on Ubuntu?

Can i use a VPN with Linux and Windows machines?

Tnx.

isharabash
February 20th, 2010, 02:57 AM
I just got done setting up a pptp vpn myself, which is what windows machines use to connect (apparently).

I haven't even tested it with another comp yet but out of 4-5 guides I tried/looked at, the best was this guide (http://www.ubuntugeek.com/howto-pptp-vpn-server-with-ubuntu-10-04-lucid-lynx.html)

Word of caution, if you're using a d-link router it can get hairy, the solution I found (on another site, not my own) was to:

untick IPsec under advanced > firewall settings
and then create two virtual servers under advanced > virtual server

The first with a protocol of other, 47, and pointing to your vpn server
The second pointing port 1723 (tcp) to your vpn server

pirateghost
February 20th, 2010, 03:05 AM
i prefer openvpn. its easy to setup, and works cross platform.

A_M_S
February 20th, 2010, 04:38 AM
Thank you for the replies. :)

SoFl W
February 20th, 2010, 04:41 AM
I have used hamachi with Windows, but haven't used it in a while. Long before the last upgrade. I was able to get it to work under Damn Small but haven't tried it under any other linux.

psyke83
February 21st, 2010, 02:27 AM
Don't forget that Network Manager support VPN connections when you install the support packages:

$ sudo apt-get install network-manager-vpnc-gnome network-manager-vpnc network-manager-pptp-gnome network-manager-pptp network-manager-openvpn-gnome network-manager-openvpn

A_M_S
February 23rd, 2010, 12:28 AM
Don't forget that Network Manager support VPN connections when you install the support packages:

$ sudo apt-get install network-manager-vpnc-gnome network-manager-vpnc network-manager-pptp-gnome network-manager-pptp network-manager-openvpn-gnome network-manager-openvpn

Thanks, i'll try it. :)

whit
March 11th, 2010, 03:29 AM
Depends on where you're connecting to. If you control both ends, OpenVPN works well, and on many platforms. If you're stuck with IPsec, you're into wilder territory, with interoperability hurdles if the platforms vary. I'm currently running OpenVPN for road warriors to connect to an office network, and Openswan (IPsec) for connecting an office network to a network behind a remote Cisco. IPsec is almost a black art. Other ways of doing IPsec include vpnc - if you just need to run a VPN client, StrongSwan - if you prefer the more Germanic attitude of another branch (along with Openswan) from the original FreeS/WAN project (YMMV there). There's also KAME, ported from BSD, in the ipsec-tools package, which some swear by and others swear at. None of the current IPsec implementations are adequately documented, so expect trial-and-error. OpenVPN is much easier to use, but isn't IPsec. It only talks to other OpenVPN instances. Also, the OpenVPN people have sort of hidden some of the support for the free product, because they're more focused on the commercial side of it now.