From e41ca07a29e0c8efd728dd5265b28b54ed9ddf39 Mon Sep 17 00:00:00 2001 From: Samuel Huang Date: Mon, 30 Aug 2021 23:36:05 +1000 Subject: [PATCH] README.md --- README.md | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index eaebb07..24dcac2 100644 --- a/README.md +++ b/README.md @@ -68,18 +68,6 @@ Try to connect the server from Xray compatible mobile app like [v2rayNG](https:/ ```shell $ docker run --rm samuelhbne/proxy-xray proxy-xray - -i|--stdin [Optional] Read config from stdin instead of auto generation - -d|--debug [Optional] Start in debug mode with verbose output - --dns [Optional] Designated upstream DNS server IP, 1.1.1.1 will be applied by default - --dns-local [Optional] Enable designated domain conf file. Like apple.china.conf - --dns-local-cn [Optional] Enable China related domains to be resolved in China - --domain-direct [Optional] Add a domain rule for direct routing, likegeosite:geosite:geolocation-cn - --domain-proxy [Optional] Add a domain rule for proxy routing, like twitter.com or geosite:google-cn - --domain-block [Optional] Add a domain rule for block routing, like geosite:category-ads-all - --ip-direct [Optional] Add a ip-addr rule for direct routing, like 114.114.114.114/32 or geoip:cn - --ip-proxy [Optional] Add a ip-addr rule for proxy routing, like 1.1.1.1/32 or geoip:netflix - --ip-block [Optional] Add a ip-addr rule for block routing, like geoip:private - --cn-direct [Optional] Add routing rules to avoid domains and IPs located in China being proxied --ltx id@host:port --ltt id@host:port --lttw id@host:port:/webpath @@ -88,6 +76,19 @@ proxy-xray --mttw id@host:port:/webpath --ttt password@host:port --tttw password@host:port:/webpath + -d|--debug [Optional] Start in debug mode with verbose output + -i|--stdin [Optional] Read config from stdin instead of auto generation + --dns [Optional] Designated upstream DNS server IP, 1.1.1.1 will be applied by default + --dns-local [Optional] Enable designated domain conf file. Like apple.china.conf + --dns-local-cn [Optional] Enable China-accessible domains to be resolved in China + --domain-direct [Optional] Add a domain rule for direct routing, likegeosite:geosite:geolocation-cn + --domain-proxy [Optional] Add a domain rule for proxy routing, like twitter.com or geosite:google-cn + --domain-block [Optional] Add a domain rule for block routing, like geosite:category-ads-all + --ip-direct [Optional] Add a ip-addr rule for direct routing, like 114.114.114.114/32 or geoip:cn + --ip-proxy [Optional] Add a ip-addr rule for proxy routing, like 1.1.1.1/32 or geoip:netflix + --ip-block [Optional] Add a ip-addr rule for block routing, like geoip:private + --cn-direct [Optional] Add routing rules to avoid domains and IPs located in China being proxied + --rules-path [Optional] Folder path contents geoip.dat, geosite.dat and other rule files $ docker run --name proxy-xray -p 1080:1080 -d samuelhbne/proxy-xray \ --ltx myid@mydomain.duckdns.org:443