VPN Node is a lightweight service that allows you to easily transform any server into a VPN node.
It is designed to integrate directly with the VPN module of OAuth2 Passport Server, enabling centralized VPN node management across distributed infrastructures.
Currently, VPN Node provides support for WireGuard and includes a scalable multi-instance architecture, allowing multiple independent WireGuard configurations to run efficiently on a single machine.
The project is focused on simplicity, lightweight deployment, and easy integration.
The service uses the following environment variables:
OPS=https://auth.elyerr.xyzAPP_ENV=productionAvailable values:
productiondevelopment
Authentication support is currently disabled.
AUTH=0Authorization header support is currently disabled.
Proxy-Authorization: Bearer {TOKEN}|{DEVICE_ID}Proxy support is currently disabled.
PROXY_SOCKS_HOST=127.0.0.1
PROXY_SOCKS_PORT=1090
PROXY_SOCKS_SSL_CERT="/ssl/cert.pem"
PROXY_SOCKS_SSL_KEY="/ssl/key.pem"PROXY_CLIENT_HOST=0.0.0.0
PROXY_CLIENT_PORT=1080
PROXY_CLIENT_SSL_CERT="/ssl/cert.pem"
PROXY_CLIENT_SSL_KEY="/ssl/key.pem"VPN Node is designed for simple and fast deployment.
- Configure the OAuth Passport Server URL in the environment variable:
OPS=https://auth.elyerr.xyz- Set the environment to production:
APP_ENV=production- Run the production deployment script:
./deploy-prod-slim.sh-
Register the node inside the OAuth Passport Server VPN module.
-
Create the required WireGuard interfaces depending on your infrastructure needs.
-
Open the necessary network ports on the server where VPN Node is running.
- WireGuard support
- Multi-instance WireGuard architecture
- Easy VPN node deployment
- Lightweight infrastructure design
- Distributed node support
- SSL/TLS support
- Integration with OAuth2 Passport Server VPN module