Cloudflare WARP 一键配置脚本
bash <(curl -fsSL http://down.freenn.com/sh/warp/warp.sh) menu
bash <(curl -fsSL http://down.freenn.com/sh/warp/warp.sh) menu
wget http://down.freenn.com/sh/speedtest/speedtest.py
chmod a+rx speedtest.py
./speedtest.py
先新建启动脚本/etc/systemd/system/vpnserver.service
[Unit]
Description=SoftEther VPN Server
After=network.target
[Service]
Type=forking
ExecStart=/root/vpnserver/vpnserver start
ExecStop=/root/vpnserver/vpnserver stop
[Install]
WantedBy=multi-user.target
然后就可以通过systemctl start vpnserver
启动了,并通过systemctl enable vpnserver
设置开机自启。