{"id":42014450,"url":"https://github.com/devriazul/opensource-vpn","last_synced_at":"2026-01-26T02:47:45.390Z","repository":{"id":296021534,"uuid":"992074526","full_name":"devriazul/opensource-vpn","owner":"devriazul","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-28T15:22:04.000Z","size":153,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-28T16:36:53.035Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/devriazul.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,"zenodo":null}},"created_at":"2025-05-28T15:20:14.000Z","updated_at":"2025-05-28T15:20:59.000Z","dependencies_parsed_at":"2025-05-28T16:39:52.543Z","dependency_job_id":"de6b3ce7-1a8d-4a6e-bd09-31a513351e9b","html_url":"https://github.com/devriazul/opensource-vpn","commit_stats":null,"previous_names":["devriazul/opensource-vpn"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devriazul/opensource-vpn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devriazul%2Fopensource-vpn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devriazul%2Fopensource-vpn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devriazul%2Fopensource-vpn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devriazul%2Fopensource-vpn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devriazul","download_url":"https://codeload.github.com/devriazul/opensource-vpn/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devriazul%2Fopensource-vpn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28765391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T02:25:41.078Z","status":"ssl_error","status_checked_at":"2026-01-26T02:24:28.809Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2026-01-26T02:47:44.375Z","updated_at":"2026-01-26T02:47:45.378Z","avatar_url":"https://github.com/devriazul.png","language":"PHP","readme":"\u003cp align=\"center\"\u003e\u003ca href=\"https://laravel.com\" target=\"_blank\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg\" width=\"400\" alt=\"Laravel Logo\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/laravel/framework/actions\"\u003e\u003cimg src=\"https://github.com/laravel/framework/workflows/tests/badge.svg\" alt=\"Build Status\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/laravel/framework\"\u003e\u003cimg src=\"https://img.shields.io/packagist/dt/laravel/framework\" alt=\"Total Downloads\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/laravel/framework\"\u003e\u003cimg src=\"https://img.shields.io/packagist/v/laravel/framework\" alt=\"Latest Stable Version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/laravel/framework\"\u003e\u003cimg src=\"https://img.shields.io/packagist/l/laravel/framework\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## About Laravel\n\nLaravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:\n\n- [Simple, fast routing engine](https://laravel.com/docs/routing).\n- [Powerful dependency injection container](https://laravel.com/docs/container).\n- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage.\n- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent).\n- Database agnostic [schema migrations](https://laravel.com/docs/migrations).\n- [Robust background job processing](https://laravel.com/docs/queues).\n- [Real-time event broadcasting](https://laravel.com/docs/broadcasting).\n\nLaravel is accessible, powerful, and provides tools required for large, robust applications.\n\n## Learning Laravel\n\nLaravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.\n\nYou may also try the [Laravel Bootcamp](https://bootcamp.laravel.com), where you will be guided through building a modern Laravel application from scratch.\n\nIf you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.\n\n## Laravel Sponsors\n\nWe would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the [Laravel Partners program](https://partners.laravel.com).\n\n### Premium Partners\n\n- **[Vehikl](https://vehikl.com/)**\n- **[Tighten Co.](https://tighten.co)**\n- **[WebReinvent](https://webreinvent.com/)**\n- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)**\n- **[64 Robots](https://64robots.com)**\n- **[Curotec](https://www.curotec.com/services/technologies/laravel/)**\n- **[Cyber-Duck](https://cyber-duck.co.uk)**\n- **[DevSquad](https://devsquad.com/hire-laravel-developers)**\n- **[Jump24](https://jump24.co.uk)**\n- **[Redberry](https://redberry.international/laravel/)**\n- **[Active Logic](https://activelogic.com)**\n- **[byte5](https://byte5.de)**\n- **[OP.GG](https://op.gg)**\n\n## Contributing\n\nThank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).\n\n## Code of Conduct\n\nIn order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).\n\n## Security Vulnerabilities\n\nIf you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed.\n\n## License\n\nThe Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).\n\n# Laravel VPN Management App\n\nThis project is a Laravel-based VPN management application that allows users to connect to VPN servers, manage their VPN configurations, and track their VPN connections.\n\n## Features\n\n- User authentication and authorization\n- VPN server management\n- VPN configuration management\n- User VPN connection tracking\n- Modern, responsive UI\n\n## Requirements\n\n- PHP 8.1 or higher\n- Composer\n- SQLite (for local development) or MySQL (for production)\n- OpenVPN (for VPN functionality)\n\n## Local Development Setup\n\n1. Clone the repository:\n   ```bash\n   git clone \u003crepository-url\u003e\n   cd vpn\n   ```\n\n2. Install dependencies:\n   ```bash\n   composer install\n   ```\n\n3. Set up the environment:\n   ```bash\n   cp .env.example .env\n   php artisan key:generate\n   ```\n\n4. Configure the database:\n   - For SQLite (local development):\n     ```bash\n     touch database/database.sqlite\n     ```\n     Update `.env`:\n     ```\n     DB_CONNECTION=sqlite\n     DB_DATABASE=/absolute/path/to/database.sqlite\n     ```\n   - For MySQL:\n     Update `.env` with your MySQL credentials.\n\n5. Run migrations and seeders:\n   ```bash\n   php artisan migrate --seed\n   ```\n\n6. Start the development server:\n   ```bash\n   php artisan serve\n   ```\n\n7. Visit `http://localhost:8000` in your browser.\n\n## Production Deployment on Digital Ocean\n\n### 1. Prepare Your Server\n\nUpdate and install dependencies:\n```bash\nsudo apt update \u0026\u0026 sudo apt upgrade -y\nsudo apt install nginx git unzip curl php php-fpm php-mbstring php-xml php-zip php-curl php-gd php-sqlite3 composer -y\n```\n\n### 2. Upload Your Laravel Project\n\nClone your project:\n```bash\ncd /var/www\nsudo git clone \u003cyour-repo-url\u003e vpn\ncd vpn\n```\n\nInstall dependencies:\n```bash\nsudo composer install --no-dev --optimize-autoloader\n```\n\nSet permissions:\n```bash\nsudo chown -R www-data:www-data /var/www/vpn\nsudo chmod -R 775 storage bootstrap/cache\n```\n\n### 3. Configure Environment\n\nCopy and edit your environment file:\n```bash\ncp .env.example .env\nnano .env\n```\n\nSet `APP_KEY` (generate with `php artisan key:generate`), `APP_URL`, and database settings.\n\n### 4. Set Up Database\n\nFor SQLite:\n```bash\ntouch database/database.sqlite\nsudo chown www-data:www-data database/database.sqlite\n```\n\nUpdate `.env`:\n```\nDB_CONNECTION=sqlite\nDB_DATABASE=/var/www/vpn/database/database.sqlite\n```\n\nFor MySQL, create a database and user, then update `.env` accordingly.\n\nRun migrations and seeders:\n```bash\nphp artisan migrate --seed\n```\n\n### 5. Configure Nginx\n\nCreate a new Nginx config:\n```bash\nsudo nano /etc/nginx/sites-available/vpn\n```\n\nPaste:\n```nginx\nserver {\n    listen 80;\n    server_name your-domain.com; # or your server IP\n\n    root /var/www/vpn/public;\n    index index.php index.html;\n\n    location / {\n        try_files $uri $uri/ /index.php?$query_string;\n    }\n\n    location ~ \\.php$ {\n        include snippets/fastcgi-php.conf;\n        fastcgi_pass unix:/var/run/php/php-fpm.sock;\n    }\n\n    location ~ /\\.ht {\n        deny all;\n    }\n}\n```\n\nEnable the site and restart Nginx:\n```bash\nsudo ln -s /etc/nginx/sites-available/vpn /etc/nginx/sites-enabled/\nsudo nginx -t\nsudo systemctl reload nginx\n```\n\n### 6. Set Up SSL (Optional)\n\nUse Let's Encrypt:\n```bash\nsudo apt install certbot python3-certbot-nginx -y\nsudo certbot --nginx -d your-domain.com\n```\n\n### 7. Run Laravel Scheduler and Queue (if needed)\n\nAdd to your crontab:\n```bash\n* * * * * cd /var/www/vpn \u0026\u0026 php artisan schedule:run \u003e\u003e /dev/null 2\u003e\u00261\n```\n\n### 8. Visit Your App\n\nGo to `http://your-domain.com` or your server's IP in your browser.\n\n### 9. OpenVPN Integration\n\nTo provide VPN service, install and configure OpenVPN:\n```bash\nsudo apt install openvpn easy-rsa\n```\n\nSet up server and client configs, and integrate certificate/key management with your Laravel app (see the `OpenVpnService` class for where to add this logic).\n\n### 10. Security\n\n- Set strong passwords for all users.\n- Use HTTPS.\n- Keep your server updated.\n- Restrict SSH access.\n\n## License\n\nThis project is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).\n# opensource-vpn\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevriazul%2Fopensource-vpn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevriazul%2Fopensource-vpn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevriazul%2Fopensource-vpn/lists"}