Skip to main content

Proxy FAQ

tunnel vs overlay

  • tunnel
    • 单端口 - 端口按需映射
    • 单 IP/固定 IP - TCP IP 层 - L4
  • overlay
    • 网络 - CIDR
    • mac 层 - L2

fake-ip

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

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