{"id":15050960,"url":"https://github.com/anonvm/openvpn-installer","last_synced_at":"2025-10-08T07:35:58.752Z","repository":{"id":252277459,"uuid":"839957007","full_name":"AnonVM/OpenVPN-Installer","owner":"AnonVM","description":"Automate your OpenVPN server setup on Debian, Ubuntu, Fedora, CentOS, or Arch Linux with this easy-to-use installer","archived":false,"fork":false,"pushed_at":"2024-08-08T17:25:38.000Z","size":24,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-31T16:42:42.763Z","etag":null,"topics":["almalinux","anonymous","arch-linux","bulletproof","centos","debian","encryption","fedora","installer","linux","network","openvpn","privacy","security","ubuntu","vpn","wireguard"],"latest_commit_sha":null,"homepage":"https://anonvm.wtf","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AnonVM.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-08-08T17:03:39.000Z","updated_at":"2025-05-19T15:40:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"121dbce9-126b-4d05-8584-3d917eed21ef","html_url":"https://github.com/AnonVM/OpenVPN-Installer","commit_stats":null,"previous_names":["anonvm/openvpn-installer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AnonVM/OpenVPN-Installer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnonVM%2FOpenVPN-Installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnonVM%2FOpenVPN-Installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnonVM%2FOpenVPN-Installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnonVM%2FOpenVPN-Installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnonVM","download_url":"https://codeload.github.com/AnonVM/OpenVPN-Installer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnonVM%2FOpenVPN-Installer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278909700,"owners_count":26066887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["almalinux","anonymous","arch-linux","bulletproof","centos","debian","encryption","fedora","installer","linux","network","openvpn","privacy","security","ubuntu","vpn","wireguard"],"created_at":"2024-09-24T21:29:54.340Z","updated_at":"2025-10-08T07:35:58.732Z","avatar_url":"https://github.com/AnonVM.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenVPN Install Script: Quick and Secure VPN Setup\n\nEasily deploy a secure OpenVPN server on Debian, Ubuntu, Fedora, CentOS, Arch Linux, Oracle Linux, Rocky Linux, and AlmaLinux with this automated script.\n\n## Key Features\n\n- **Quick Setup**: Configure your VPN server in seconds.\n- **Customizable Security**: Enhanced encryption settings for maximum security.\n- **User Management**: Easily add, remove, or manage clients.\n- **Multi-Platform**: Compatible with various Linux distributions.\n- **Automated Headless Install**: Fully automated installation for seamless deployment.\n\n## Supported Distributions\n\n| Distribution        | Support        |\n| ------------------- | -------------- |\n| AlmaLinux 8         | ✅             |\n| Amazon Linux 2      | ✅             |\n| Arch Linux          | ✅             |\n| CentOS 7            | ✅ 🤖          |\n| CentOS Stream \u003e= 8  | ✅ 🤖          |\n| Debian \u003e= 10        | ✅ 🤖          |\n| Fedora \u003e= 35        | ✅ 🤖          |\n| Oracle Linux 8      | ✅             |\n| Rocky Linux 8       | ✅             |\n| Ubuntu \u003e= 18.04     | ✅ 🤖          |\n\n*Note: Distributions marked with 🤖 are regularly tested.*\n\n## Installation Guide\n\n### Step 1: Download the Script\n\n```bash\ncurl -O https://raw.githubusercontent.com/AnonVM/OpenVPN-Installer/main/setup.sh\nchmod +x setup.sh\n```\n\n### Step 2: Run the Script\n\n```bash\nsudo ./setup.sh\n```\n\nFollow the prompts to configure your VPN server.\n\n### Step 3: Manage Clients\n\nAfter installation, rerun the script to:\n\n- **Add a Client**\n- **Remove a Client**\n- **Uninstall OpenVPN**\n\nClient configuration files (`.ovpn`) will be saved in your home directory. Use them with your preferred OpenVPN client.\n\n## Automated Headless Installation\n\nYou can automate the installation process:\n\n```bash\nAUTO_INSTALL=y ./setup.sh\n```\n\nOr set environment variables:\n\n```bash\nexport AUTO_INSTALL=y\n./setup.sh\n```\n\nCustomizable options include:\n\n- `APPROVE_INSTALL=y`\n- `APPROVE_IP=y`\n- `IPV6_SUPPORT=n`\n- `PORT_CHOICE=1`\n- `PROTOCOL_CHOICE=1`\n- `DNS=1`\n- `COMPRESSION_ENABLED=n`\n- `CUSTOMIZE_ENC=n`\n- `CLIENT=clientname`\n- `PASS=1`\n\nTo set the server endpoint behind NAT:\n\n```bash\nENDPOINT=$(curl -4 ifconfig.co)\n```\n\nFor more customization, modify the `installQuestions()` function in the script.\n\n### Headless User Addition\n\nTo automate user addition:\n\n```bash\n#!/bin/bash\nexport MENU_OPTION=\"1\"\nexport CLIENT=\"foo\"\nexport PASS=\"1\"\n./setup.sh\n```\n\n## Advanced Security and Encryption\n\nOpenVPN defaults to strong encryption settings, further enhanced by this script:\n\n- **AES-GCM**: Provides confidentiality, integrity, and authenticity.\n- **TLS 1.2**: Enforced for optimal security.\n- **ECDSA**: Default certificate type for efficiency and security.\n- **tls-crypt**: Enabled by default for additional privacy and DoS protection.\n\n## FAQ\n\n### Recommended VPS Providers\n\n- [AnonVM](https://anonvm.wtf): Privacy focused secure hostiing\n---\n\n### Recommended OpenVPN Clients\n\n- **Windows**: [Official OpenVPN Community Client](https://openvpn.net/index.php/download/community-downloads.html)\n- **Linux**: Use the `openvpn` package from your distribution. [APT repository for Debian/Ubuntu](https://community.openvpn.net/openvpn/wiki/OpenvpnSoftwareRepos)\n- **macOS**: [Tunnelblick](https://tunnelblick.net/), [Viscosity](https://www.sparklabs.com/viscosity/), [OpenVPN for Mac](https://openvpn.net/client-connect-vpn-for-mac-os/)\n- **Android**: [OpenVPN for Android](https://play.google.com/store/apps/details?id=de.blinkt.openvpn)\n- **iOS**: [OpenVPN Connect](https://itunes.apple.com/us/app/openvpn-connect/id590379981)\n\n---\n\n### Is This Script NSA-Proof?\n\nNo. Even though this script enhances security, if you're trying to hide from the NSA, a VPN may not be enough. Review your threat models carefully.\n\n---\n\n### Where Can I Find OpenVPN Documentation?\n\nRefer to the [OpenVPN Manual](https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage) for detailed documentation on all options.\n\n## Contributing and Support\n\n### Discuss Changes\n\nOpen an issue to discuss significant changes before submitting a PR.\n\n## Security and Encryption Details\n\n\u003e **Warning**: This section has not been updated for OpenVPN 2.5 and later.\n\n### Compression\n\n- **Default**: Compression is disabled to prevent VORACLE attacks.\n- **Supported**: LZ0 and LZ4 (v1/v2) algorithms, though not recommended.\n\n### TLS Version\n\n- **Default**: TLS 1.2 enforced with `tls-version-min 1.2`.\n- **Support**: TLS 1.2 is available since OpenVPN 2.3.3.\n\n### Certificates\n\n- **Default**: ECDSA with `prime256v1` curve.\n- **Supported**: ECDSA curves (`prime256v1`, `secp384r1`, `secp521r1`) and RSA keys (2048, 3072, 4096 bits).\n\n### Data Channel Encryption\n\n- **Default**: AES-128-GCM.\n- **Supported Ciphers**: AES-GCM and AES-CBC with varying key lengths.\n\n### Control Channel Encryption\n\n- **Default**: `TLS-ECDHE-*` with AES-128-GCM and SHA256.\n- **Supported**: Configurable based on certificate type (ECDSA or RSA).\n\n### Diffie-Hellman Key Exchange\n\n- **Default**: ECDH with `prime256v1`.\n- **Supported**: ECDH and classic DH keys.\n\n### HMAC Digest Algorithm\n\n- **Default**: SHA256.\n- **Supported**: SHA256, SHA384, SHA512.\n\n### `tls-auth` and `tls-crypt`\n\n- **Default**: `tls-crypt` enabled for privacy and DoS protection.\n- **Supported**: Both `tls-auth` and `tls-crypt`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanonvm%2Fopenvpn-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanonvm%2Fopenvpn-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanonvm%2Fopenvpn-installer/lists"}