5

I know PPTP is based PPP, so what is the openVPN based on ? can the packets of openVPN be

routed by ubuntu server ? thanks!

Mark Henderson
  • 68,316
  • 31
  • 175
  • 255
larry
  • 3,927
  • 9
  • 35
  • 41

4 Answers4

6

What is the openVPN based on ?

SSL/TLS

can the packets of openVPN be routed by ubuntu server?

Yep, of course!

EEAA
  • 108,414
  • 18
  • 172
  • 242
  • but I think openvpn is hard to use :(, must use CA ? – larry Nov 30 '10 at 02:51
  • I think the packets of PPTP can not be routed , right? – larry Nov 30 '10 at 03:11
  • OpenVPN has a bit more setup than PPTP, but not much. There are a lot of very good guides on the subject. – EEAA Nov 30 '10 at 03:15
  • All of these protocols for VPN CAN be routed. If they can't you can not do vpn outside of your LAN. The main purpose of VPN is to do secure remote connection outside of your LAN (so the routing is involved). For openvpn - it is not a standart protocol and client is no embedded in Windows OS. I think that you can use self signed certificate. – ntk Nov 30 '10 at 08:50
  • 1
    @why: You can use a shared key OpenVPN setup, see the OpenVPN Getting Started Guide for an example of how to set this up. It's extremely easy. – Sean Reifschneider Nov 30 '10 at 09:02
6

The following article may be of help: What’s the difference between PPTP VPN and OpenVPN?

The conclusion at the end of the article is as follows:

To sum up, if you are looking for high security and privacy you should choose OpenVPN. If you need easy-to-setup VPN, PPTP is a good choice. For mobile devices, both OpenVPN and PPTP can be used.

3

PPTP uses PPP and GRE tunneling - quite old protocols, especially GRE which may be awkward to pass by some routers. It uses TCP port 1723.
OpenVPN is more flexible - it may be set up on any UDP or TCP port. OpenVPN uses OpenSSL library with all its goods.
I don't see any reason any of them could not be routed by Ubuntu server.

OpenVPN is for you if:

  • you are blocked by Internet Provider or behind restrictive firewall
  • you are looking for high security advanced solution
  • you need additional features like Exclusive Tunneling

PPTP is for you if:

  • you need an easy-to-setup VPN
  • you want to connect from mobile devices
  • you don't want to install additional software

The above bullet list is the summary from the best comparison I found:

OpenVPN vs PPTP

1

We've written a guide on the differences between PPTP, L2TP and OpenVPN that you might be interested in at http://www.vpncompare.co.uk/the-difference-between-pptp-l2tp-and-openvpn/

Fred Smith
  • 11
  • 1
  • Welcome to Server Fault! Whilst this may theoretically answer the question, [it would be preferable](http://meta.stackexchange.com/q/8259) to include the essential parts of the answer here, and provide the link for reference. – Scott Pack Sep 18 '13 at 14:49