Proxy FAQ
tunnel vs overlay
- tunnel
- 单端口 - 端口按需映射
- 单 IP/固定 IP - TCP IP 层 - L4
- overlay
- 网络 - CIDR
- mac 层 - L2
fake-ip
- DNS 服务器为域名分配假的 IP,在请求时就行映射
- 客户端请求 A google.com
- 服务端返回 192.168.2.1
- 代理服务收到请求 192.168.2.1
- 代理请求 google.com
- 代理服务作为网关角色
- https://www.rfc-editor.org/rfc/rfc3089
- https://blog.skk.moe/post/what-happend-to-dns-in-proxy/
fakeip + tun
- 全局透明
- TEST-NET
- RFC 5737: “IPv4 Address Blocks Reserved for Documentation”
- 192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24
proxy env
[scheme]_proxy
- http_proxy
- https_proxy
- ftp_proxy
- all_proxy, ALL_PROXY
fakedns
获取代理原始 IP
- 如果用户做了分流,则可以考虑访问未分流的地址请求 URL
- https://vv.video.qq.com/checktime?otype=json&callback=onCheckTime
jdbc url
jdbc:mysql://192.168.99.100:33056/guest?user=guest&\
password=guest&failOverReadOnly=false&maxReconnects=10&\
socksProxyHost=82.204.180.43&socksProxyPort=36819&autoReconnect=true