AllenWu

Results 8 comments of AllenWu

It does not work. Just write a ping-pong infinite client and server, it will appear definitely.

> Not clear why. There should be a bug somewhere. https://github.com/junbujianwpl/netcat/commit/f008c5de9aba0465544885872099aad64ec1d279 There is a workaround for a temporary fix. Long time `ping` `pong` works for hours. Maybe a clue.

现在运营商也有得卷吧。 电信就支持公网IP,而且是免费的,应该是全国统一的。缺点是一掉线、重启公网IP就会变,问的师傅说是时间不确定,可能自动清缓存就会导致掉线,师傅帮我查了一下,一个月掉线了2回,还算可以吧。 另外80、443这样一些端口是封禁的。 基本上配合上tplink的DDNS也能用上一波。 还是很期待upnp这样一些打洞功能的

> 试试路径加 `-`: `localhost:7777/-/path/to` -> `localhost:7777/path/to` ``` localhost:8888/-/abc http://127.0.0.1:7777 localhost:8888/-/abc http://127.0.0.1:7777 localhost:8888/abc http://127.0.0.1:7777 localhost:8888/abc http://127.0.0.1:7777 localhost:7777/-/abc http://127.0.0.1:7777 localhost:7777/-/abc https://127.0.0.1:7777 localhost:8888/-/abc http://127.0.0.1:7777 localhost:8888/abc http://127.0.0.1:7777 localhost:8888/abc http://127.0.0.1:7777 ``` 在rules里配了这一串 都不管用 像是没法把本机的一个端口给反向代理出去? `www.baddomain.com...

> 用 `localhost:8888/-/abc` 访问, Whistle 会放过请求并自动转成 `localhost:8888/abc`,规则里面要匹配的 URL 是 `localhost:8888/abc` localhost:8888/-/abc 怎么映射到 localhost:7777 呢 localhost:7777是真实的devtool端口 想从另一台机器通过ip来访问到这个devtool

> 在whistle 上配规则 localhost:8888 localhost:7777 ``` localhost:8888 localhost:7777 localhost:7777/ localhost:7777/-/ ``` 配置了这样2条规则,本机确实可以了,开始报了个`ECONNREFUSED`,重启了下代理,不设置bypass,又好了。这是本机,能行,本机localhost:8888/-/能看到devtool 但是从另一台机器访问还是有问题,用ip访问 192.168.0.103:8888/-/访问的是whistle代理的界面,而且有一个死循环的get,一直都是200 `http://192.168.0.103:8888/cgi-bin/get-data?clientId=1681148072090-1&startLogTime=-2&startSvrLogTime=-2&ids=1681148211096-195&startTime=1681148211096-195&dumpCount=0&lastRowId=1681148211096-195&logId=&count=20&_=1681148071987` 加了这样一条配置也无效`192.168.0.103:8888 localhost:7777`