Sign inSign up

elyerr/vpn-control

By elyerr

•Updated about 1 year ago
Archived

VPN Manager is a managed VPN server that centralizes all VPN configurations

Image
Networking
Security
Web servers
0

1.4K

elyerr/vpn-control repository overview

⁠VPN Control (Administrator)

VPN Manager is a managed VPN server that centralizes all VPN configurations, providing an efficient and scalable way to handle multiple servers and instances. Features 🚀

  • Centralized management: Control all VPN configurations from a single interface.
  • WireGuard support: Currently compatible with WireGuard for fast and secure connections.
  • Multi-server: Manage multiple VPN servers simultaneously.
  • Multi-instance: Run multiple VPN instances within the same system.

⁠Upcoming Improvements ✨

  • Support for additional VPN protocols.
  • Integration with admin panels.
  • Advanced deployment automation.

⁠License

This project is licensed under the GNU Affero General Public License v3.0. See the LICENSE⁠ file for details.

⁠🚀 Deploy Setup

This project uses Docker and Laravel for OAuth2 authentication. Follow the steps below to deploy the production environment and create the first user.

⁠🔑 Environment Configuration

Before deployment, make sure to copy the environment file and configure the necessary variables:

cp .env.example .env

Then, edit the .env file with your specific settings.

⁠Deploy to Production

Run the following command to deploy the application in a production environment:

./deploy-prod.sh

⁠Proxy settings Nginx server

server {

    listen 80;
    server_name vpn.server.org;

    # Logging
    access_log /var/log/nginx/accounts_access.log main;
    error_log /var/log/nginx/accounts_error.log warn;

    location / {
        proxy_pass http://127.0.0.1:8002;
        proxy_http_version 1.1;

        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;

        proxy_set_header X-Forwarded-Host $http_x_forwarded_host;
        proxy_set_header X-Forwarded-Port $http_x_forwarded_port;
        proxy_set_header X-Forwarded-AWS-ELB $http_x_forwarded_aws_elb;

        proxy_read_timeout 720s;
        proxy_connect_timeout 720s;
        proxy_send_timeout 720s;

        proxy_buffering on;
        proxy_buffer_size 128k;
        proxy_buffers 4 256k;
        proxy_busy_buffers_size 256k;
        proxy_temp_file_write_size 256k;

        proxy_redirect off;
    }
}

⁠Oauth2 Passport Server⁠ to register app

⁠VPN Core (Core of the system)

You can use the next image Docker Image⁠

⁠Contact

For direct contact, visit Telegram⁠.

⁠Gitlab⁠

Tag summary

Content type

Image

Digest

sha256:a5a7f1438…

Size

41.8 MB

Last updated

about 1 year ago

docker pull elyerr/vpn-control