Vnt穿透

https://rustvnt.com/guide/introduction.html

vnt-armv7-unknown-linux-musleabihf-v1.2.12.tar.gz

参数:https://github.com/vnt-dev/vnt/blob/main/vnt-cli/README.md

/etc/systemd/system/vnt-cli.service

[Unit]
Description=VNT CLI Service
After=network.target

[Service]
User=root
ExecStart=/root/rustvnt/vnt-cli -f /root/rustvnt/config.yaml
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target

/root/rustvnt/config.yaml

token: xxx
name: name
ip: 10.26.0.2
server_address: 8.134.146.7:29872
password: xxx
server_encrypt: true
device_name: vnt-tun
cipher_model: aes_gcm
finger: false
use_channel: p2p
cmd: false
sudo systemctl daemon-reload
sudo systemctl start vnt-cli
sudo systemctl enable vnt-cli
sudo systemctl status vnt-cli
分类: 软路由Linux 标签: 穿透NasP2P

评论

暂无评论数据

暂无评论数据

目录