50% off 所有套餐限时优惠,起价 $2.48/mo
SPR VPN

SPR VPN

SPR(Secure Programmable Router)VPN 是一个自托管的 VPN 网关。支持按设备设置防火墙规则、DNS 控制和流量策略,并提供对开发者友好的 API。适合将网络当作代码而非路由器管理界面来操作的高级用户。

Version

Latest

Operating System

Ubuntu Server 24.04 LTS

Min. RAM

1 GB

IP Types

IPV4,IPV6

访问控制台

通过 SSH 隧道本地访问:

ssh root@<your-server-ip> -N -L 8000:127.0.0.1:8000

然后在浏览器中打开: http://localhost:8000/ (admin interface)

Web 登录凭据: /root/super/configs/auth/auth_users.json

API token: /root/super/configs/auth/auth_tokens.json

Directory Layout

/root/super/
 ├── docker-compose-virt.yml         # Docker stack definition
 ├── configs/
 │   ├── auth/
 │   │   ├── auth_users.json         # Web login credentials
 │   │   └── auth_tokens.json        # API tokens
 │   ├── wireguard/
 │   │   └── wg0.conf                # WireGuard peers and server
 │   ├── dhcp/
 │   │   └── coredhcp.yml            # DHCP config
 │   ├── base/
 │   │   └── config.sh               # Core environment settings
 │   └── scripts/                    # Helper scripts
 ├── state/
 │   └── dns/block_rules.json        # DNS ad/malware blocklists
 └── logs/                           # Service logs

WireGuard Configuration

主 WireGuard 服务器配置文件位于 /root/super/configs/wireguard/wg0.conf.

其中包含首个自动创建的对等端(客户端)。

Running /root/super/virtual_install.sh 自动配置 WireGuard 对等端,并生成凭据、令牌和二维码。

 

More in Security

Related apps.

立即部署 SPR VPN。 From $2.48/mo.