Skip to main content

Setting up an OpenVPN Server on the Google Cloud Platform

  • Conference paper
  • First Online:
Cryptology and Network Security with Machine Learning (ICCNSML 2023)

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 918))

  • 93 Accesses

Abstract

This paper presents an overview of setting up a Virtual Private Network (VPN) using OpenVPN on the Google Cloud Platform (GCP). With remote work becoming increasingly popular, VPNs provide a secure and reliable solution for employees to access cloud resources from any location. OpenVPN is an open-source VPN solution that offers advanced security features, making it a preferred choice for businesses and organizations. Google Cloud Platform provides a secure and scalable infrastructure for deploying a VPN, including global load balancing and network security features. The article outlines the deployment of OpenVPN Access Server on a GCP virtual machine instance and the configuration of user authentication and authorization, network settings, and security policies. Creating a virtual machine instance is the first step in setting up a VPN using OpenVPN on GCP. The OpenVPN Access Server is then deployed on the virtual machine instance, and user authentication and authorization protocols are configured. Network settings such as IP address range, routing, and firewall rules must also be configured to ensure that only authorized traffic can pass through the VPN. Testing and monitoring the VPN infrastructure is essential to ensure optimal performance and reliability. This involves testing VPN connectivity from remote clients and monitoring network traffic and server logs for unusual activities. However, setting up a VPN using OpenVPN on GCP provides a secure and scalable infrastructure for remote access to cloud resources. With the outlined steps, organizations can deploy a VPN infrastructure quickly and efficiently, with advanced security features and the flexibility to scale as their needs evolve.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Karuna Jyothi K, Reddy BI (2023) Study on virtual private network (VPN), VPN’s protocols and security study on virtual private network (VPN), VPN’s protocols and security. https://www.researchgate.net/publication/368831275

  2. Shah J, Dubaria D (2019) Building modern clouds: Using docker, kubernetes google cloud platform. In: 2019 IEEE 9th Annual Computer Communications Work Conference CCWC 2019, pp 184–189. https://doi.org/10.1109/CCWC.2019.8666479

  3. Lopez J, Rubio JE (2018) Access control for cyber-physical systems interconnected to the cloud. Comput Netw 134:46–54. https://doi.org/10.1016/j.comnet.2018.01.037

    Article  Google Scholar 

  4. Benedetti P, Gattobigio L, Steenhaut K, Femminella M, Reali G, Braeken A (2023) Open-source serverless for edge computing: a tutorial. In: Lecture Notes Data Engineering Communication Technology, vol 162, pp 121–147. https://doi.org/10.1007/978-3-031-26633-1_5

  5. Hunter T, Porter S (2018) Google Cloud Platform for developers : build highly scalable cloud solutions with the power of Google Cloud Platform, p 77

    Google Scholar 

  6. Mackey S, Mihov I, Nosenko A, Vega F, Cheng Y (2020) A performance comparison of WireGuard and OpenVPN. In: CODASPY 2020—Proceedings of the 10th ACM Conference on Data and Application Security and Privacy, pp 162–164. https://doi.org/10.1145/3374664.3379532

  7. Vassallo K, Garg L, Prakash V, Ramesh K (2019) Contemporary technologies and methods for cross-platform application development. J Comput Theor Nanosci 16(9):3854–3859. https://doi.org/10.1166/jctn.2019.8261

    Article  Google Scholar 

  8. Krylosova T (2014) Implementing container-based virtualization in a hybrid Cloud

    Google Scholar 

  9. Alshalan A, Pisharody S, Huang D (2016) A survey of mobile VPN technologies. IEEE Commun Surv Tutorials 18(2):1177–1196. https://doi.org/10.1109/COMST.2015.2496624

    Article  Google Scholar 

  10. SA Quadri (2017) Cloud computing: migrating to the Cloud, Amazon Web Services, and Google Cloud platform

    Google Scholar 

  11. Matos M, Greve F (2021) Distributed applications and interoperable systems. Springer, Cham

    Book  Google Scholar 

  12. Google Cloud Platform. https://cloud.google.com/learn/what-is-a-virtual-private-server?utm_source=google&utm_medium=cpc&utm_campaign=japac-IN-all-en-dr-BKWS-all-hv-trial-PHR-dr-1605216&utm_content=text-ad-none-none-DEV_c-CRE_634320731174-ADGP_Hybrid%7CBKWS-PHR%7CTxt~Com. Accessed 20 Apr 2023

  13. Cisco AnyConnect Secure Mobility Client vs Google Cloud VPN comparison. https://www.peerspot.com/products/comparisons/cisco-anyconnect-secure-mobility-client_vs_google-cloud-vpn. Accessed 20 Apr 2023

  14. Khot AR (2020) A comparative analysis of public cloud platforms and introduction of multi-cloud. Int J Innov Sci Res Technol 5(9):448–454. https://doi.org/10.38124/ijisrt20sep234

  15. Kowsalya R, Krishnamoorthy P, Rajasekaran G (2020) Comparative analysis of VPN configurations using Google cloud platform. Int J Recent Technol Eng 8(6):7183–7187

    Google Scholar 

  16. Halabi S, Mansour H, Darwish A (2020) Cloud-based VPN using Google cloud platform for telemedicine applications. In: Middle East and North Africa Conference on Biomedical Engineering (MENA-BME), pp 1–5

    Google Scholar 

  17. Wu Z, Xiao M (2019) Performance evaluation of VPN with different network topologies. In: 2019 2nd International Conference on Electronics Technology, ICET 2019, pp 51–55. https://doi.org/10.1109/ELTECH.2019.8839611

  18. Almurisi N, Tadisetty S (2022) Cloud-based virtualization environment for IoT-based WSN: solutions, approaches and challenges. J Ambient Intell Humaniz Comput. https://doi.org/10.1007/s12652-021-03515-z

    Article  Google Scholar 

  19. Thanuja AG (2022) Performance evaluation of apache Cassandra using AWS (Amazon Web Services) and GCP (Google Cloud Platform)

    Google Scholar 

  20. Nasrin S, Sahryer ATIM, Mazumder PP (2021) Feature and performance based comparative study on serverless framework among AWS, GCP, azure and fission. Brac University

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Vijay Prakash .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Prakash, V., Jain, C., Rathi, R., Garg, L., Shukla, V. (2024). Setting up an OpenVPN Server on the Google Cloud Platform. In: Chaturvedi, A., Hasan, S.U., Roy, B.K., Tsaban, B. (eds) Cryptology and Network Security with Machine Learning. ICCNSML 2023. Lecture Notes in Networks and Systems, vol 918. Springer, Singapore. https://doi.org/10.1007/978-981-97-0641-9_46

Download citation

  • DOI: https://doi.org/10.1007/978-981-97-0641-9_46

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-97-0640-2

  • Online ISBN: 978-981-97-0641-9

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics