jpillora / chisel

A fast TCP/UDP tunnel over HTTP
MIT License
12.36k stars 1.32k forks source link

Cloudflare IP host command string example needed. #490

Open essoojay opened 5 months ago

essoojay commented 5 months ago

Can someone help with command string to have cloudflare IP as host_header on chisel, equivalent of passing through SNI host, but this time using cloudflare IP as host_header. thanks

For comparison using SNI, typical command string like:

./chisel client --keepalive 25s --tls-skip-verify --hostname www.bing.com https://11.22.33.44:443 :10000/udp

where port: 10000 is my wireguard port SNI: --hostname www.bing.com (for example) https://11.22.33.44:443 is vps server: port

what am aiming at is replacing SNI host (TLS host) with Cloudflare IP host

Any help would be appreciated!