内网穿透工具nps和frp


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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM