我是中转cf 的流量用的,效果很不错 德鸡也能上2w
global ulimit-n 51200 defaults log global mode tcp option dontlognull timeout connect 1000ms timeout client 150000ms timeout server 150000ms frontend hi-in bind :::{listenPort} ##监听端口 {listenPort} acl hdr_connection_upgrade hdr(Connection) -i upgrade acl hdr_upgrade_websocket hdr(Upgrade) -i websocket use_backend hi-out if hdr_connection_upgrade hdr_upgrade_websocket default_backend hi-out default_backend hi-out backend hi-out server server1 {remoteIp}:443 maxconn 20480 ##中转的远程IP {remoteIp} 复制代码
辽宁省网友说:resolvers dns parse-resolv-conf resolve_retries 3 timeout retry 2s hold valid 60s listen TCP bind :1234 mode tcp server srv1 address:port check resolvers dns复制代码
都tcp了,直接转发就行,这样还支持ddns
海南省网友说:分享帮顶
安徽省网友说:haproxy 不吃BBR 不好用