{"id":19808065,"url":"https://github.com/oli-moreau/openvpn-setup","last_synced_at":"2026-04-11T09:07:05.575Z","repository":{"id":94754653,"uuid":"594908310","full_name":"oli-moreau/openvpn-setup","owner":"oli-moreau","description":"A Bash script that installs and configures OpenVPN  on Debian 11","archived":false,"fork":false,"pushed_at":"2023-02-07T18:04:03.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T18:22:50.261Z","etag":null,"topics":["bash","debian","linux","openvpn"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oli-moreau.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-30T01:05:09.000Z","updated_at":"2023-12-02T13:21:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"96152917-570c-4ab9-8892-76ff63bd4f86","html_url":"https://github.com/oli-moreau/openvpn-setup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oli-moreau/openvpn-setup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oli-moreau%2Fopenvpn-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oli-moreau%2Fopenvpn-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oli-moreau%2Fopenvpn-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oli-moreau%2Fopenvpn-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oli-moreau","download_url":"https://codeload.github.com/oli-moreau/openvpn-setup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oli-moreau%2Fopenvpn-setup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31674633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","debian","linux","openvpn"],"created_at":"2024-11-12T09:12:52.430Z","updated_at":"2026-04-11T09:07:05.547Z","avatar_url":"https://github.com/oli-moreau.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenVPN Installation Script for Debian 11\n\nThis Bash script provides an almost automatic installation of OpenVPN on a Debian 11 (Bullseye) server. The script is quite straightforward, making it a quick way to have a VPN server up and running.\n\nIt is based on [this excellent guide](https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-debian-11) written by [Mark Drake](https://www.digitalocean.com/community/users/mdrake), [Justin Ellingwood](https://www.digitalocean.com/community/users/jellingwood) and [Kent Shultz](https://www.digitalocean.com/community/users/kshultz).\n\n![Screenshot from 2023-01-29 19-53-07](https://user-images.githubusercontent.com/123499791/215366778-619d7ded-9644-46ca-8642-877fbe7fd0d7.png)\n\n## Limitations\nThe only intent of this script is to provide a quick way to have a VPN server up and running for *my personnal use case*, which is on a Debian 11 server and a Fedora 37 Workstation.\n- Not recommended due to security concerns with the server being its own CA (Certificate Authority).\n- The server side was only configured \u0026 tested on Debian 11 (Bullseye).\n- The client side was only configured \u0026 tested on Fedora 37 Workstation.\n- Additional configuration might be required for Debian based or Arch based clients.\n\n## Server-side Configuration\nDefault configuration file, with the following modifications:\n- TCP instead of UDP\n- Port 443 instead of 1194\n- Added auth SHA256\n- dh dh2048.pem set to dh dh.pem\n- User nobody \u0026 group nogroup\n- explicit-exit-notify set to 0 due to TCP\n- Using Google's DNS (both 8.8.8.8 and 8.8.4.4)\n- Server acts as its own Certificate Authority (CA) server\n\n## Client-side Configuration\nDefault configuration file, with the following modifications:\n- TCP instead of UDP\n- Port 443 instead of 1194\n- Added auth SHA256\n- dh dh2048.pem set to dh dh.pem\n- User nobody \u0026 group nobody\n- CA, cert and key files are commented\n- Commented tls-auth ta.key\n- Added key-direction 1\n\n## Requirements\n- Debian 11 (Bullseye) server\n- Port 443 must not be used\n- Have a user with sudo privileges\n\n## How to use\nAs a standard user, download the files\n```bash\ngit clone https://github.com/oli-moreau/openvpn-setup.git\n```\nChange directory\n```bash\ncd openvpn-setup/\n```\nMake the installation script executable\n```bash\nchmod +x install.sh\n```\nRun the script\n```bash\n./install.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foli-moreau%2Fopenvpn-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foli-moreau%2Fopenvpn-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foli-moreau%2Fopenvpn-setup/lists"}