{"id":13359376,"url":"https://github.com/Chocobozzz/OpenVPN-Admin","last_synced_at":"2025-03-12T11:31:03.314Z","repository":{"id":14059502,"uuid":"16762516","full_name":"Chocobozzz/OpenVPN-Admin","owner":"Chocobozzz","description":"Install and administrate OpenVPN with a web interface (logs visualisations, users managing...)","archived":true,"fork":false,"pushed_at":"2023-03-27T22:32:27.000Z","size":584,"stargazers_count":946,"open_issues_count":58,"forks_count":369,"subscribers_count":76,"default_branch":"master","last_synced_at":"2024-11-20T05:30:42.058Z","etag":null,"topics":["administration","openvpn","openvpn-admin","web"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Chocobozzz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2014-02-12T09:42:15.000Z","updated_at":"2024-11-18T16:29:42.000Z","dependencies_parsed_at":"2024-01-07T22:49:39.218Z","dependency_job_id":"dd3d940d-dbe7-433a-916d-82ff6960911e","html_url":"https://github.com/Chocobozzz/OpenVPN-Admin","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chocobozzz%2FOpenVPN-Admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chocobozzz%2FOpenVPN-Admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chocobozzz%2FOpenVPN-Admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chocobozzz%2FOpenVPN-Admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chocobozzz","download_url":"https://codeload.github.com/Chocobozzz/OpenVPN-Admin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243208840,"owners_count":20254121,"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","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":["administration","openvpn","openvpn-admin","web"],"created_at":"2024-07-29T21:04:38.443Z","updated_at":"2025-03-12T11:31:02.921Z","avatar_url":"https://github.com/Chocobozzz.png","language":"PHP","funding_links":[],"categories":["PHP","PHP (184)"],"sub_categories":[],"readme":"# OpenVPN Admin\n\n## Summary\nAdministrate its OpenVPN with a web interface (logs visualisations, users managing...) and a SQL database.\n\n![Previsualisation configuration](https://lutim.cpy.re/fUq2rxqz)\n![Previsualisation administration](https://lutim.cpy.re/wwYMkHcM)\n\n\n## Prerequisite\n\n  * GNU/Linux with Bash and root access\n  * Fresh install of OpenVPN\n  * Web server (NGinx, Apache...)\n  * MySQL\n  * PHP \u003e= 5.5 with modules:\n    * zip\n    * pdo_mysql\n  * bower\n  * unzip\n  * wget\n  * sed\n  * curl\n\n### Debian 8 Jessie\n\n````\n# apt-get install openvpn apache2 php5-mysql mysql-server php5 nodejs unzip git wget sed npm curl\n# npm install -g bower\n# ln -s /usr/bin/nodejs /usr/bin/node\n````\n\n### Debian 9 Stretch\n\nIn order to install `npm`, [stretch-backports need to be added to your sources.list](https://backports.debian.org/Instructions/#index2h2).\n\n````\n# apt-get install -t stretch-backports npm nodejs\n# apt-get install openvpn apache2 php-mysql mysql-server php-zip php unzip git wget sed curl\n# npm install -g bower\n````\n\n### CentOS 7\n\n````\n# yum install epel-release\n# yum install openvpn httpd php-mysql mariadb-server php nodejs unzip git wget sed npm\n# npm install -g bower\n# systemctl enable mariadb\n# systemctl start mariadb\n````\n\n### Other distribution... (PR welcome)\n\n## Tests\n\nOnly tested on Debian Jessie. Feel free to open issues.\n\n## Installation\n\n  * Setup OpenVPN and the web application:\n\n        $ cd ~/my_coding_workspace\n        $ git clone https://github.com/Chocobozzz/OpenVPN-Admin openvpn-admin\n        $ cd openvpn-admin\n        # ./install.sh /var/www www-data www-data\n\n  * Setup the web server (Apache, NGinx...) to serve the web application.\n  * Create the admin of the web application by visiting `http://your-installation/index.php?installation`\n\n## Usage\n\n  * Start OpenVPN on the server (for example `systemctl start openvpn@server`)\n  * Connect to the web application as an admin\n  * Create an user\n  * User get the configurations files via the web application (and put them in */etc/openvpn*)\n  * Users on GNU/Linux systems, run `chmod +x /etc/openvpn/update-resolv.sh` as root\n  * User run OpenVPN (for example `systemctl start openvpn@client`)\n\n## Update\n\n    $ git pull origin master\n    # ./update.sh /var/www\n\n## Desinstall\nIt will remove all installed components (OpenVPN keys and configurations, the web application, iptables rules...).\n\n    # ./desinstall.sh /var/www\n\n## Use of\n\n  * [Bootstrap](https://github.com/twbs/bootstrap)\n  * [Bootstrap Table](http://bootstrap-table.wenzhixin.net.cn/)\n  * [Bootstrap Datepicker](https://github.com/eternicode/bootstrap-datepicker)\n  * [JQuery](https://jquery.com/)\n  * [X-editable](https://github.com/vitalets/x-editable)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChocobozzz%2FOpenVPN-Admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FChocobozzz%2FOpenVPN-Admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChocobozzz%2FOpenVPN-Admin/lists"}