公众号:架构师与哈苏
关注公众号进入it交流群! 公众号:架构师与哈苏 不定时都会推送一些实用的干货。。。

nps

https://github.com/cnlh/nps

免费,nps 的优势在于有一套官方提供的web管理端。
service端在云上搭建。

ip:8080 登陆service,账号:admin 密码:123

client端搭建在内网机器上。

startClient.sh

#!/bin/bash
nohup ./npc -server=公网ip:8024 -vkey=唯一验证密钥 >> info.log 2>&1 &
echo "启动成功!!!!"
tail -f -n100 ./info.log

frp

https://github.com/fatedier/frp

免费,缺点是每次增加或修改映射,都需要更改客户端配置文件,然后重启服务。

下载地址:
https://github.com/fatedier/frp/releases

https://github.com/fatedier/frp/releases/download/v0.41.0/frp_0.41.0_linux_amd64.tar.gz

文档:
https://gofrp.org/docs

posted on 2022-03-24 19:45  公众号/架构师与哈苏  阅读(965)  评论(0编辑  收藏  举报