OpenVPN 1.0 - open-source VPN 1.0 =================================== .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **What is OpenVPN?** OpenVPN is an open-source VPN (Virtual Private Network) protocol that creates secure, encrypted tunnels between devices over the internet. It allows users to access private networks securely and anonymously. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Why is OpenVPN important?** * Ensures **confidentiality**, **integrity**, and **authentication** of data. * Supports strong encryption (e.g., AES), TLS-based key exchange, and certificate-based authentication. * Highly configurable and works across platforms and network types. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **How OpenVPN works (in simple steps):** * You start the OpenVPN client and connect to a VPN server. * The client and server perform a TLS handshake to authenticate and exchange encryption keys. * A secure tunnel is established using protocols like **UDP or TCP**. * Your internet traffic is encrypted and routed through the VPN server. * The server decrypts the traffic and forwards it to the destination. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Where is OpenVPN used?** * **Remote work** – Secure access to corporate networks. * **Privacy protection** – Hiding IP addresses and encrypting traffic on public Wi-Fi. * **Bypass geo-restrictions** – Accessing region-locked content. * **Enterprise VPNs** – Secure site-to-site or client-to-site connections. * **Cloud and hybrid networks** – Secure communication between cloud and on-prem systems. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Which OSI Layer does this protocol belong to?** * OpenVPN operates primarily at the **Network Layer (Layer 3)** by routing IP packets. * It also uses the **Transport Layer (Layer 4)** via **UDP or TCP** to transmit data. * Unlike PPTP or L2TP, it uses **SSL/TLS** for encryption and authentication instead of GRE or IPsec. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow Topics in this section, * :ref:`Learnings in this section ` * :ref:`Terminology ` * :ref:`Version Info ` * :ref:`OpenVPN 1.0 Version&RFC Details ` * :ref:`OpenVPN 1.0 Basic Setup on Ubuntu using IPv4 ` * :ref:`OpenVPN 1.0 Basic Setup on Ubuntu using IPv6 ` * :ref:`OpenVPN 1.0 Protocol Packet Details ` * :ref:`OpenVPN 1.0 Usecases ` * :ref:`OpenVPN 1.0 Basic Features ` * :ref:`OpenVPN 1.0 Feature : SSL/TLS Tunneling ` * :ref:`OpenVPN 1.0 Feature : Static Key Encryption ` * :ref:`OpenVPN 1.0 Feature : Point-to-Point Mode ` * :ref:`OpenVPN 1.0 Feature : TUN/TAP Interface Support ` * :ref:`OpenVPN 1.0 Feature : Cross-Platform Compatibility ` * :ref:`OpenVPN 1.0 Feature : Portability ` * :ref:`OpenVPN 1.0 Feature : Basic Configuration Files ` * :ref:`OpenVPN 1.0 Feature : No Compression ` * :ref:`OpenVPN 1.0 Feature : No Client-Server Mode ` * :ref:`OpenVPN 1.0 Feature : OpenSSL Integration ` * :ref:`Reference links ` .. _OpenVPN 1.0_step1: .. tab-set:: .. tab-item:: Learnings in this section * In this section, you are going to learn .. _OpenVPN 1.0_step2: .. tab-set:: .. tab-item:: Terminology * Terminology .. _OpenVPN 1.0_step3: .. tab-set:: .. tab-item:: Version Info * Version Info .. _OpenVPN 1.0_step5: .. tab-set:: .. tab-item:: OpenVPN 1.0 Version&RFC Details .. csv-table:: :file: ./OpenVPN_1.0/OpenVPN_1.0_Version&RFC_Details.csv :widths: 10,10,10,30 :header-rows: 1 .. _OpenVPN 1.0_step20: .. tab-set:: .. tab-item:: OpenVPN 1.0 Basic Setup on Ubuntu using IPv4 **Setup** .. _OpenVPN 1.0_step21: .. tab-set:: .. tab-item:: OpenVPN 1.0 Basic Setup on Ubuntu using IPv6 **Setup** .. _OpenVPN 1.0_step6: .. tab-set:: .. tab-item:: OpenVPN 1.0 Protocol Packet Details **OpenVPN Control Packet** .. csv-table:: :file: ./OpenVPN_1.0/OpenVPN_1.0_packetdetails1.csv :widths: 10,20,30,10 :header-rows: 1 **OpenVPN Data Packet** .. csv-table:: :file: ./OpenVPN_1.0/OpenVPN_1.0_packetdetails2.csv :widths: 10,20,30,10 :header-rows: 1 .. _OpenVPN 1.0_step7: .. tab-set:: .. tab-item:: OpenVPN 1.0 Usecases .. csv-table:: :file: ./OpenVPN_1.0/OpenVPN_1.0_Use_Cases.csv :widths: 10,20,30 :header-rows: 1 .. _OpenVPN 1.0_step8: .. tab-set:: .. tab-item:: OpenVPN 1.0 Basic Features .. csv-table:: :file: ./OpenVPN_1.0/OpenVPN_1.0_Basic_Features.csv :widths: 10,10,30 :header-rows: 1 .. _OpenVPN 1.0_step9: .. tab-set:: .. tab-item:: OpenVPN 1.0 Feature : SSL/TLS Tunneling **SSL/TLS Tunneling - Testcases** .. csv-table:: :file: ./OpenVPN_1.0/OpenVPN_1.0_Feature1_SSL_TLS_Tunneling_TestCases.csv :widths: 10,10,30,20 :header-rows: 1 .. _OpenVPN 1.0_step10: .. tab-set:: .. tab-item:: OpenVPN 1.0 Feature : Static Key Encryption **Static Key Encryption - Testcases** .. csv-table:: :file: ./OpenVPN_1.0/OpenVPN_1.0_Feature2_Static_Key_Encryption_TestCases.csv :widths: 10,10,30,20 :header-rows: 1 .. _OpenVPN 1.0_step11: .. tab-set:: .. tab-item:: OpenVPN 1.0 Feature : Point-to-Point Mode **Point-to-Point Mode - Testcases** .. csv-table:: :file: ./OpenVPN_1.0/OpenVPN_1.0_Feature3_Point_to_Point_Mode_TestCases.csv :widths: 10,10,30,20 :header-rows: 1 .. _OpenVPN 1.0_step12: .. tab-set:: .. tab-item:: OpenVPN 1.0 Feature : TUN/TAP Interface Support **TUN/TAP Interface Support - Testcases** .. csv-table:: :file: ./OpenVPN_1.0/OpenVPN_1.0_Feature4_TUN_TAP_Interface_Support_TestCases.csv :widths: 10,10,30,20 :header-rows: 1 .. _OpenVPN 1.0_step13: .. tab-set:: .. tab-item:: OpenVPN 1.0 Feature : Cross-Platform Compatibility **Cross-Platform Compatibility - Testcases** .. csv-table:: :file: ./OpenVPN_1.0/OpenVPN_1.0_Feature5_Cross_Platform_Compatibility_TestCases.csv :widths: 10,10,30,20 :header-rows: 1 .. _OpenVPN 1.0_step14: .. tab-set:: .. tab-item:: OpenVPN 1.0 Feature : Portability **Portability - Testcases** .. csv-table:: :file: ./OpenVPN_1.0/OpenVPN_1.0_Feature6_Portability_TestCases.csv :widths: 10,10,30,20 :header-rows: 1 .. _OpenVPN 1.0_step15: .. tab-set:: .. tab-item:: OpenVPN 1.0 Feature : Basic Configuration Files **Basic Configuration Files - Testcases** .. csv-table:: :file: ./OpenVPN_1.0/OpenVPN_1.0_Feature7_Basic_Configuration_Files_TestCases.csv :widths: 10,10,30,20 :header-rows: 1 .. _OpenVPN 1.0_step16: .. tab-set:: .. tab-item:: OpenVPN 1.0 Feature : No Compression **No Compression - Testcases** .. csv-table:: :file: ./OpenVPN_1.0/OpenVPN_1.0_Feature8_No_Compression_TestCases.csv :widths: 10,10,30,20 :header-rows: 1 .. _OpenVPN 1.0_step17: .. tab-set:: .. tab-item:: OpenVPN 1.0 Feature : No Client-Server Mode **No Client-Server Mode - Testcases** .. csv-table:: :file: ./OpenVPN_1.0/OpenVPN_1.0_Feature9_No_Client_Server_Mode_TestCases.csv :widths: 10,10,30,20 :header-rows: 1 .. _OpenVPN 1.0_step18: .. tab-set:: .. tab-item:: OpenVPN 1.0 Feature : OpenSSL Integration **OpenSSL Integration - Testcases** .. csv-table:: :file: ./OpenVPN_1.0/OpenVPN_1.0_Feature10_OpenSSL_Integration_TestCases.csv :widths: 10,10,30,20 :header-rows: 1 .. _OpenVPN 1.0_step19: .. tab-set:: .. tab-item:: Reference links * Reference links