Skip to content

X Tunnel Config fileEn

Michael-X-Net edited this page Feb 6, 2023 · 1 revision

path:

data/x_tunnel/client.json

content:

{
  "socks_host" : "127.0.0.1",
  "socks_port" : 1080,
  "server_host": "1234.xx-net.net",
  "server_port": 443,
  "login_account": "xxnet@github.org",
  "login_password": "MTIzNDU2Nzg5MA"
}

illustrate:

socks_host Bind the listening ip to 0.0.0.0 to provide a proxy to other devices

socks_port Bind the listening port, and modify the port number to avoid port conflicts (SOCKS5 proxy commonly used port 1080) At present, the port can be automatically jumped. Once the default port 1080 is occupied, the port 1081 will be automatically incremented. Users can check the X-Tunnel log to confirm the opened port.

server_host X-Tunnel server

Clone this wiki locally