←back to thread

157 points josephscott | 1 comments | | HN request time: 0.213s | source
Show context
ignoramous ◴[] No.42201093[source]
You could straight up connect to the destination (over TCP) from Cloudflare without needing relays; a project I wrote demonstrates TCP over HTTP (for Deno Deploy) and TCP over WebSockets (for Workers): https://github.com/serverless-proxy/serverless-proxy

Proxying projects utilising HTTP/TLS are popular in the anti-censorship community (discussion board: https://github.com/net4people/bbs) and there are many variants of it; ex:

- KCP (over UDP): https://github.com/xtaci/kcp-go

- Bepass: https://github.com/bepass-org/bepass-worker

replies(1): >>42323231 #
doxx9999 ◴[] No.42323231[source]
Yeah, but websockets are limited. I wrote this to tunnel VPNs over this and have full IP connectivity... which does work. A lot of users of the application I have talked with are from China and Iran. Seems to work well.
replies(1): >>42423448 #
1. ignoramous ◴[] No.42423448[source]
> ... from China and Iran. Seems to work well.

Apparently Cloudflare, since a few weeks ago, has started flagging traffic bound to/from proxies as DDoS vectors: https://github.com/net4people/bbs/issues/429