Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Architecture  



1.1  Encryption  





1.2  Authentication  





1.3  Networking  





1.4  Security  





1.5  Extensibility  





1.6  Header  







2 Platforms  



2.1  Firmware implementations  





2.2  Software implementations  







3 Licensing  





4 See also  





5 References  





6 External links  














OpenVPN






العربية

Bosanski
Català
Čeština
Dansk
Deutsch
Eesti
Español
Euskara
فارسی
Français

Italiano
Latviešu
Lietuvių
Nederlands

Norsk bokmål
Polski
Português
Русский
Simple English
Suomi
Svenska
Türkçe
Українська
Tiếng Vit

 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
Wikibooks
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


OpenVPN
Original author(s)James Yonan
Developer(s)OpenVPN project / OpenVPN Inc.
Initial release13 May 2001; 23 years ago (2001-05-13)[1]
Stable release2.6.10[2] (20 March 2024; 3 months ago (2024-03-20)) [±]
Repository
Written inC
Platform
  • OS X 10.8 or later
  • Android 4.0 or later[4]
  • iOS 6 or later[5]
  • Linux[6]
  • *BSD[7][8][9]
  • TypeVPN
    LicenseGNU GPLv2[10]
    Websiteopenvpn.net Edit this on Wikidata

    OpenVPN is a virtual private network (VPN) system that implements techniques to create secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities. It implements both client and server applications.

    OpenVPN allows peerstoauthenticate each other using pre-shared secret keys, certificatesorusername/password. When used in a multiclient-server configuration, it allows the server to release an authentication certificate for every client, using signatures and certificate authority.

    It uses the OpenSSL encryption library extensively, as well as the TLS protocol, and contains many security and control features. It uses a custom security protocol[11] that utilizes SSL/TLS for key exchange. It is capable of traversing network address translators (NATs) and firewalls.[citation needed]

    OpenVPN has been ported and embedded to several systems. For example, DD-WRT has the OpenVPN server function. SoftEther VPN, a multi-protocol VPN server, also has an implementation of OpenVPN protocol.[citation needed]

    It was written by James Yonan and is free software, released under the terms of the GNU General Public License version 2 (GPLv2).[12] Additionally, commercial licenses are available.[13]

    Architecture[edit]

    Encryption[edit]

    OpenVPN uses the OpenSSL library to provide encryption of both the data and control channels. It lets OpenSSL do all the encryption and authentication work, allowing OpenVPN to use all the ciphers available in the OpenSSL package. It can also use the HMAC packet authentication feature to add an additional layer of security to the connection (referred to as an "HMAC Firewall" by the creator). It can also use hardware acceleration to get better encryption performance.[14][15] Support for mbed TLS is available starting from version 2.3.[16]

    Authentication[edit]

    OpenVPN has several ways to authenticate peers with each other. OpenVPN offers pre-shared keys, certificate-based, and username/password-based authentication. Preshared secret key is the easiest, and certificate-based is the most robust and feature-rich.[citation needed] In version 2.0 username/password authentications can be enabled, both with or without certificates. However, to make use of username/password authentications, OpenVPN depends on third-party modules.[citation needed]

    Networking[edit]

    OpenVPN can run over User Datagram Protocol (UDP) or Transmission Control Protocol (TCP) transports, multiplexing created SSL tunnels on a single TCP/UDP port[17] (RFC 3948 for UDP).[18]

    From 2.3.x series on, OpenVPN fully supports IPv6 as protocol of the virtual network inside a tunnel and the OpenVPN applications can also establish connections via IPv6.[19] It has the ability to work through most proxy servers (including HTTP) and is good at working through network address translation (NAT) and getting out through firewalls. The server configuration has the ability to "push" certain network configuration options to the clients. These include IP addresses, routing commands, and a few connection options. OpenVPN offers two types of interfaces for networking via the Universal TUN/TAP driver. It can create either a layer-3 based IP tunnel (TUN), or a layer-2 based Ethernet TAP that can carry any type of Ethernet traffic. OpenVPN can optionally use the LZO compression library to compress the data stream. Port 1194 is the official IANA assigned port number for OpenVPN. Newer versions of the program now default to that port. A feature in the 2.0 version allows for one process to manage several simultaneous tunnels, as opposed to the original "one tunnel per process" restriction on the 1.x series.

    OpenVPN's use of common network protocols (TCP and UDP) makes it a desirable alternative to IPsec in situations where an ISP may block specific VPN protocols in order to force users to subscribe to a higher-priced, "business grade" service tier. For example, Comcast previously declared that their @Home product was, and had always been, designated as a residential service and did not allow the use of commercial applications. Their argument was that conducting remote work via a VPN can adversely affect the network performance of their regular residential subscribers. They offered an alternative, @Home Professional, this would cost more than @Home product. So, anyone wishing to use VPN would have to subscribe to higher-priced, business-grade service tier.[20]

    When OpenVPN uses Transmission Control Protocol (TCP) transports to establish a tunnel, performance will be acceptable only as long as there is sufficient excess bandwidth on the un-tunneled network link to guarantee that the tunneled TCP timers do not expire.[21] If this becomes untrue, performance falls off dramatically. This is known as the "TCP meltdown problem".[22][23]

    Security[edit]

    OpenVPN offers various internal security features. It has up to 256-bit encryption through the OpenSSL library, although some service providers may offer lower rates, effectively providing some of the fastest VPN available to consumers. It runs in userspace instead of requiring IP stack (therefore kernel) operation. OpenVPN has the ability to drop root privileges, use mlockall to prevent swapping sensitive data to disk, enter a chroot jail after initialization, and apply a SELinux context after initialization.

    OpenVPN runs a custom security protocol based on SSL and TLS,[11] rather than supporting IKE, IPsec, L2TP or PPTP.

    OpenVPN offers support of smart cards via PKCS#11-based cryptographic tokens.

    Extensibility[edit]

    OpenVPN can be extended with third-party plug-ins or scripts, which can be called at defined entry points.[24][25] The purpose of this is often to extend OpenVPN with more advanced logging, enhanced authentication with username and passwords, dynamic firewall updates, RADIUS integration and so on. The plug-ins are dynamically loadable modules, usually written in C, while the scripts interface can execute any scripts or binaries available to OpenVPN. In the OpenVPN source code[26] there are some examples of such plug-ins, including a PAM authentication plug-in. Several third-party plug-ins also exist to authenticate against LDAP or SQL databases such as SQLite and MySQL.[27]

    Header[edit]

    OpenVPN header format
    Offsets Octet 0 1 2 3
    Octet Bit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
    0 0 Opcode KeyID Session ID
    4 32 Session ID
    8 64 Session ID HMAC
    12 96 HMAC
    24 192
    28 224 HMAC Packet ID
    32 256 Packet ID Net Time
    36 288 Net Time Msg Array Len Message Packet ID #

    Platforms[edit]

    It is available on Solaris, Linux, OpenBSD, FreeBSD, NetBSD, QNX, macOS and Windows XP and later.[28] OpenVPN is available for mobile operating systems including Maemo,[29] Windows Mobile 6.5 and below,[30] iOS 3GS+ devices,[31] jailbroken iOS 3.1.2+ devices,[32] Android 4.0+ devices, and Android devices that have had the Cyanogenmod aftermarket firmware flashed[33] or have the correct kernel module installed.[34] It is not compatible with some mobile phone OSes, including Palm OS. It is not a "web-based" VPN shown as a web page such as CitrixorTerminal Services Web access; the program is installed independently and configured by editing text files manually, rather than through a GUI-based wizard. OpenVPN is not compatible with VPN clients that use the IPsec over L2TPorPPTP protocols. The entire package consists of one binary for both client and server connections, an optional configuration file, and one or more key files depending on the authentication method used.

    Firmware implementations[edit]

    OpenVPN has been integrated into several router firmware packages allowing users to run OpenVPN in client or server mode from their network routers. A router running OpenVPN in client mode, for example, allows any device on a network to access a VPN without needing the capability to install OpenVPN.

    Notable firmware packages with OpenVPN integration include:

    Notable firmware packages with OpenVPN integration
    Firmware package Cost Developer References
    DD-WRT Free NewMedia-NET GmbH [35]
    Gargoyle Free Eric Bishop [36]
    OpenWrt Free Community driven development [37]
    OPNsense Free Deciso BV [38]
    pfSense Free Rubicon Communications, LLC (Netgate)
    Tomato Free Keith Moyer [39][40]

    OpenVPN has also been implemented in some manufacturer router firmware.

    Software implementations[edit]

    OpenVPN has been integrated into SoftEther VPN, an open-source multi-protocol VPN server, to allow users to connect to the VPN server from existing OpenVPN clients.

    OpenVPN is also integrated into Vyos, an open-source routing operating system forked from the Vyatta software router.

    Licensing[edit]

    OpenVPN is available in two versions:

    See also[edit]

    References[edit]

    1. ^ OpenVPN Change Log - OpenVPN Release Notes
  • ^ "Community Downloads". openvpn.net. Retrieved 20 June 2024.
  • ^ "Downloads". openvpn.net. Retrieved 27 January 2023.
  • ^ "Private Tunnel VPN - Android Apps on Google Play".
  • ^ "Private Tunnel VPN". App Store. 23 October 2014.
  • ^ "How to connect to Access Server from a Linux computer".
  • ^ "FreeBSD Ports Search".
  • ^ "OpenBSD Ports".
  • ^ "The NetBSD Packages Collection: net/openvpn".
  • ^ "openvpn_COPYING at master · OpenVPN_openvpn". GitHub. 30 July 2019. Archived from the original on 31 July 2019. Retrieved 30 July 2019.
  • ^ a b "OpenVPN Security Overview". Retrieved 28 September 2011.
  • ^ LinuxSecurity.com - OpenVPN: An Introduction and Interview with Founder, James Yonan
  • ^ openvpn.net: Pricing, retrieved 12 December 2018
  • ^ Andrew Lockhart (2006). Network Security Hacks: Tips & Tools for Protecting Your Privacy. "O'Reilly Media, Inc.". p. 339. ISBN 978-0-596-55143-8.
  • ^ 6net (2008). IPv6 Deployment Guide. Javvin Technologies Inc. p. 109. ISBN 978-1-60267-005-1.{{cite book}}: CS1 maint: numeric names: authors list (link)
  • ^ Overview of changes in OpenVPN v2.3 - ChangesInOpenvpn23 - OpenVPN Community
  • ^ OpenVPN man page, section "TLS Mode Options"
  • ^ Petros Daras; Oscar Mayora (2013). User Centric Media: First International Conference, UCMedia 2009, Venice, Italy, December 9-11, 2009, Revised Selected Papers. Springer Science & Business Media. p. 239. ISBN 978-3-642-12629-1.
  • ^ OpenVPN community wiki, IPv6 in OpenVPN - retrieved 8 December 2013
  • ^ "OpenVPN VPN Protocol". privacyhq.com. Retrieved 24 June 2021.
  • ^ Murray, Mike (20 March 2021). "OPENVPN MTU: Finding The Correct Settings". The Geek Pub. Archived from the original on 20 March 2021. Retrieved 20 July 2022.
  • ^ Titz, Olaf (23 April 2001). "Why TCP Over TCP Is A Bad Idea". Retrieved 17 October 2015.
  • ^ Honda, Osamu; Ohsaki, Hiroyuki; Imase, Makoto; Ishizuka, Mika; Murayama, Junichi (October 2005). "Understanding TCP over TCP: effects of TCP tunneling on end-to-end throughput and latency". In Atiquzzaman, Mohammed; Balandin, Sergey I. (eds.). Performance, Quality of Service, and Control of Next-Generation Communication and Sensor Networks III. Vol. 6011. Bibcode:2005SPIE.6011..138H. CiteSeerX 10.1.1.78.5815. doi:10.1117/12.630496. S2CID 8945952.
  • ^ "OpenVPN script entry points". Openvpn.net. Retrieved 30 July 2012.
  • ^ OpenVPN plug-in entry points for C based modules.
  • ^ "OpenVPN example plug-ins". Openvpn.git.sourceforge.net. Retrieved 30 July 2012.
  • ^ OpenVPN Community Wiki - Related Projects
  • ^ "Downloads". openvpn.net. OpenVPN. Retrieved 6 August 2015.
  • ^ "OpenVPN Maemo package". Maemo.org. Retrieved 30 July 2012.
  • ^ "OpenVPN for PocketPC". Ovpnppc.ziggurat29.com. 1 April 2007. Retrieved 30 July 2012.
  • ^ "OpenVPN Connect". OpenVPN Technologies. 16 January 2013. Retrieved 16 January 2013.
  • ^ "GuizmOVPN - OpenVPN GUI for iPhone/iPad". guizmovpn.com. 30 September 2007. Retrieved 30 September 2012.
  • ^ "CHANGELOG at eclair from CyanogenMod's android_vendor_cyanogen". GitHub. cyanogen. 7 July 2010. Retrieved 28 October 2010. Nexus One Cyanogenmod changelog
  • ^ "How to setup and configure OpenVPN on Android rooted device | VPN blog is actual information about VPN". Vpnblog.info. Archived from the original on 26 May 2011.
  • ^ dd-wrt.com - OpenVPN
  • ^ Gargoyle Wiki - OpenVPN
  • ^ "OpenVPN - OpenWrt Wiki". openwrt.org. Retrieved 11 June 2018.
  • ^ "opnsense.org - OPNsense 17.1 Release Announcement".
  • ^ "TomatoVPN". Tomatovpn.keithmoyer.com. Retrieved 30 July 2012.
  • ^ LinksysInfo.org – VPN build with Web GUI
  • ^ "OpenVPN Product Comparison". Retrieved 15 January 2017.
  • ^ "What is OpenVPN Access Server (OpenVPN-AS)?". Retrieved 15 January 2017.
  • ^ "Regarding chocolatey.org repository · Issue #2 · wget/chocolatey_package_openvpn". GitHub. 16 January 2017. Retrieved 16 January 2017.
  • ^ "Can I use a community OpenVPN client to connect to the Access Server?". Retrieved 16 January 2017.
  • External links[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=OpenVPN&oldid=1231317144"

    Categories: 
    2001 software
    Free security software
    Tunneling protocols
    Unix network-related software
    Virtual private networks
    Free software programmed in C
    Hidden categories: 
    CS1 maint: numeric names: authors list
    Articles with short description
    Short description is different from Wikidata
    Use dmy dates from July 2016
    All articles with unsourced statements
    Articles with unsourced statements from July 2022
    Articles with unsourced statements from April 2018
    Articles with unsourced statements from June 2018
    Articles needing additional references from July 2009
    All articles needing additional references
     



    This page was last edited on 27 June 2024, at 18:00 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki