jueying / docker-ngrok-server Goto Github PK
View Code? Open in Web Editor NEWngrok服务器的docker image,实现内网穿透。也可以下载附件中的ngrok客户端使用
License: MIT License
ngrok服务器的docker image,实现内网穿透。也可以下载附件中的ngrok客户端使用
License: MIT License
服务端:
docker run --rm --name ngrok-server -p 3000:80 -p 3001:8082 -p 443:443 jueying/ngrok-server 192.168.2.13 3000 3001 443
客户端:
ngrok.cfg
server_addr: "192.168.2.13:443" trust_host_root_certs: false
start.bat
ngrok.exe -subdomain=test -config=ngrok.cfg 80
[11:45:50 UTC 2019/02/21] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:571a60ec] Closing
[11:45:58 UTC 2019/02/21] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [tun:3bbcc903] New connection from 172.17.0.1:43480
[11:45:58 UTC 2019/02/21] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:3bbcc903] Waiting to read message
[11:45:58 UTC 2019/02/21] [WARN] (ngrok/log.(*PrefixLogger).Warn:87) [tun:3bbcc903] Failed to read message: remote error: tls: bad certificate
DockerFile 中所使用的连接已经无法打开了,所以无法再制作镜像了
http://files.git.oschina.net/group1/M00/07/11/PaAvDFyZwgKAM7opAK7VK6NTB802069.gz?attname=ngrok.tar.gz
init ngrok server!
Generating RSA private key, 2048 bit long modulus
.............................................................................................................................................................................................................................+++
........................................................................................................................................+++
e is 65537 (0x10001)
end of string encountered while processing type of subject name element #0
problems making Certificate Request
2018-05-26T18:25:11.426092000Z [18:25:11 UTC 2018/05/26] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] Reporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
2018-05-26T18:25:21.215313000Z [18:25:21 UTC 2018/05/26] [WARN] (ngrok/log.(*PrefixLogger).Warn:87) [pub:29fdf7e3] Failed to read valid https request: malformed HTTP request "~\x00\x00\x00\x00\x00\x00\x00{"Type":"Auth","Payload":{"Version":"2","MmVersion":"1.7","User":"","Password":"","OS":"darwin","Arch":"amd64","ClientId":""}
如题,在make release-client
阶段生成linux client
[09:41:00 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [registry] [tun] No affinity cache specified
[09:41:00 UTC 2023/05/24] [INFO] (ngrok/log.Info:112) Listening for public http connections on [::]:1400
[09:41:00 UTC 2023/05/24] [INFO] (ngrok/log.Info:112) Listening for public https connections on [::]:1480
[09:41:00 UTC 2023/05/24] [INFO] (ngrok/log.Info:112) Listening for control and proxy connections on [::]:1443
[09:41:00 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R eporting every 30 seconds
[09:41:30 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R eporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m 1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count ":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
[09:42:00 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R eporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m 1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count ":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
[09:42:30 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R eporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m 1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count ":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
[09:43:00 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R eporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m 1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count ":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
[09:43:30 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R eporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m 1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count ":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
[09:44:00 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R eporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m 1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count ":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
[09:44:30 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R eporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m 1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count ":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
[09:44:58 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [tun:5b6ff3 9d] New connection from 219.133.100.123:57951
[09:44:58 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:5b6ff 39d] Waiting to read message
[09:44:58 UTC 2023/05/24] [WARN] (ngrok/log.(*PrefixLogger).Warn:87) [tun:5b6ff3 9d] Failed to read message: remote error: tls: bad certificate
[09:44:58 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:5b6ff 39d] Closing
[09:44:59 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [tun:596d11 c8] New connection from 219.133.100.123:57959
[09:44:59 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:596d1 1c8] Waiting to read message
[09:44:59 UTC 2023/05/24] [WARN] (ngrok/log.(*PrefixLogger).Warn:87) [tun:596d11 c8] Failed to read message: remote error: tls: bad certificate
[09:44:59 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:596d1 1c8] Closing
[09:45:00 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R eporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m 1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count ":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
[09:45:01 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [tun:56f4a5 38] New connection from 219.133.100.123:57972
[09:45:01 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:56f4a 538] Waiting to read message
[09:45:01 UTC 2023/05/24] [WARN] (ngrok/log.(*PrefixLogger).Warn:87) [tun:56f4a5 38] Failed to read message: remote error: tls: bad certificate
[09:45:01 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:56f4a 538] Closing
[09:45:05 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [tun:6b8fec 62] New connection from 219.133.100.123:60297
[09:45:05 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:6b8fe c62] Waiting to read message
[09:45:05 UTC 2023/05/24] [WARN] (ngrok/log.(*PrefixLogger).Warn:87) [tun:6b8fec 62] Failed to read message: remote error: tls: bad certificate
[09:45:05 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:6b8fe c62] Closing
[09:45:14 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [tun:18a861 fc] New connection from 219.133.100.123:60329
[09:45:14 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:18a86 1fc] Waiting to read message
[09:45:14 UTC 2023/05/24] [WARN] (ngrok/log.(*PrefixLogger).Warn:87) [tun:18a861 fc] Failed to read message: remote error: tls: bad certificate
[09:45:14 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:18a86 1fc] Closing
[09:45:15 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [tun:7eb9f2 48] New connection from 219.133.100.123:60342
[09:45:15 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:7eb9f 248] Waiting to read message
[09:45:15 UTC 2023/05/24] [WARN] (ngrok/log.(*PrefixLogger).Warn:87) [tun:7eb9f2 48] Failed to read message: remote error: tls: bad certificate
[09:45:15 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:7eb9f 248] Closing
[09:45:17 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [tun:7b70b0 38] New connection from 219.133.100.123:60348
[09:45:17 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:7b70b 038] Waiting to read message
[09:45:17 UTC 2023/05/24] [WARN] (ngrok/log.(*PrefixLogger).Warn:87) [tun:7b70b0 38] Failed to read message: remote error: tls: bad certificate
[09:45:17 UTC 2023/05/24] [DEBG] (ngrok/log.(*PrefixLogger).Debug:79) [tun:7b70b 038] Closing
[09:45:30 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R eporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m 1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count ":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
[09:46:00 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R eporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m 1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count ":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
[09:46:30 UTC 2023/05/24] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] R eporting: {"bytesIn.count":0,"bytesOut.count":0,"connMeter.count":0,"connMeter.m 1":0,"httpTunnelMeter.count":0,"linux":0,"osx":0,"other":0,"tcpTunnelMeter.count ":0,"tunnelMeter.count":0,"tunnelMeter.m1":0,"windows":0}
root@OpenWrt:~#
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.