ehang-io / nps

一款轻量级、高性能、功能强大的内网穿透代理服务器。支持tcp、udp、socks5、http等几乎所有流量转发,可用来访问内网网站、本地支付接口调试、ssh访问、远程桌面,内网dns解析、内网socks5代理等等……,并带有功能强大的web管理端。a lightweight, high-performance, powerful intranet penetration proxy server, with a powerful web management terminal.
https://ehang.io/nps/documents
GNU General Public License v3.0
30.47k stars 5.5k forks source link

最新的master代码编译出错 #991

Open soarway opened 2 years ago

soarway commented 2 years ago

[root@VM-0-16-centos nps-master]# ls bridge build.assets.sh client conf Dockerfile.nps go.mod gui lib Makefile README_zh.md web build.android.sh build.sh cmd Dockerfile.npc docs go.sum image LICENSE README.md server [root@VM-0-16-centos nps-master]# make go build cmd/nps/nps.go go: ehang.io/nps-mux@v0.0.0-20210407130203-4afa0c10c992: reading https://gocenter.io/ehang.io/nps-mux/@v/v0.0.0-20210407130203-4afa0c10c992.mod: 405 Not Allowed make: *** [Makefile:11: build] Error 1 [root@VM-0-16-centos nps-master]#

wa5i commented 2 years ago

参考这个 pr 的修改:https://github.com/ehang-io/nps/pull/923/files 修改这一行就可以: export GOPROXY := https://goproxy.io