From c0bab868d0d401f68468ef69d53ebba540c3c342 Mon Sep 17 00:00:00 2001 From: "sijie.sun" Date: Mon, 26 Aug 2024 17:34:28 +0800 Subject: [PATCH] split socks5 --- .vitepress/config/cn.ts | 1 + .vitepress/config/en.ts | 1 + en/guide/network/no-root.md | 4 +--- en/guide/network/socks5.md | 5 +++++ guide/network/no-root.md | 4 +--- guide/network/socks5.md | 5 +++++ 6 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 en/guide/network/socks5.md create mode 100644 guide/network/socks5.md diff --git a/.vitepress/config/cn.ts b/.vitepress/config/cn.ts index cd152ea..97f12d9 100644 --- a/.vitepress/config/cn.ts +++ b/.vitepress/config/cn.ts @@ -23,6 +23,7 @@ export const cn = defineConfig({ { text: '网对网', link: '/guide/network/network-to-network' }, { text: '无公网IP', link: '/guide/network/networking-without-public-ip' }, { text: '使用 WireGuard 客户端接入', link: '/guide/network/use-easytier-with-wirefuard-client' }, + { text: 'SOCKS5', link: '/guide/network/socks5' }, { text: '无 TUN 模式 (免 Root 权限)', link: '/guide/network/no-root' }, { text: '自建公共服务器', link: '/guide/network/host-public-server' }, { text: '注册为windows服务(开机自启)', link: '/guide/network/install-as-a-windows-service' }, diff --git a/.vitepress/config/en.ts b/.vitepress/config/en.ts index 80706d9..fc00273 100644 --- a/.vitepress/config/en.ts +++ b/.vitepress/config/en.ts @@ -23,6 +23,7 @@ export const en = defineConfig({ { text: 'Network to Network', link: '/en/guide/network/network-to-network' }, { text: 'Without Public IP', link: '/en/guide/network/networking-without-public-ip' }, { text: 'Use WireGuard Client', link: '/en/guide/network/use-easytier-with-wirefuard-client' }, + { text: 'SOCKS5', link: '/en/guide/network/socks5' }, { text: 'No TUN Mode (No Root Permission Required', link: '/en/guide/network/no-root' }, { text: 'Self-Hosted Public Server', link: '/en/guide/network/host-public-server' }, { text: 'Installing as a Windows Service (Auto-Start on Boot)', link: '/en/guide/network/install-as-a-windows-service' }, diff --git a/en/guide/network/no-root.md b/en/guide/network/no-root.md index 4bd99b2..5757ab7 100644 --- a/en/guide/network/no-root.md +++ b/en/guide/network/no-root.md @@ -4,6 +4,4 @@ Since creating a TUN device requires ROOT permission, EasyTier also provides a m When networking in No TUN mode, nodes can be accessed via virtual IPs (supporting TCP, UDP, and ICMP), and can also act as subnet proxies (using the -n parameter). However, they cannot initiate visits to other nodes. -To actively access other nodes in No TUN mode, EasyTier supports the creation of a SOCKS5 server. Other programs on the node can access the virtual network and other proxy subnets within the virtual network by setting the proxy to EasyTier's SOCKS5 service. - -The parameter for starting the SOCKS5 service is `--socks5 12333`. By adding this parameter to the easytier-core start command, the local port 12333 can serve SOCKS5 clients. Currently, the SOCKS5 server does not require username and password authentication and can be used directly. \ No newline at end of file +To actively access other nodes in No TUN mode, you can use EasyTier's [SOCKS5 server functionality](/en/guide/network/socks5). diff --git a/en/guide/network/socks5.md b/en/guide/network/socks5.md new file mode 100644 index 0000000..63e5cbe --- /dev/null +++ b/en/guide/network/socks5.md @@ -0,0 +1,5 @@ +# SOCKS5 + +EasyTier supports the creation of a SOCKS5 server, allowing other programs on the node to access the virtual network and other proxy subnets within the virtual network by setting their proxy to the EasyTier SOCKS5 service. + +The parameter to start the SOCKS5 service is `--socks5 12333`. By adding this parameter to the easytier-core startup command, the local port 12333 can serve SOCKS5 clients. Currently, the SOCKS5 server does not require username and password authentication and can be used directly. diff --git a/guide/network/no-root.md b/guide/network/no-root.md index 9fee858..feefa22 100644 --- a/guide/network/no-root.md +++ b/guide/network/no-root.md @@ -4,6 +4,4 @@ 使用无 TUN 模式组网时,节点可以通过虚拟 IP 被访问(TCP、UDP 和 ICMP 都支持),也可以做子网代理(使用 -n 参数)。但是无法主动发起对其他节点的访问。 -为了在无 TUN 模式下主动访问其他节点,EasyTier 支持创建 SOCKS5 服务器,节点上的其他程序可以通过将代理设置为 EasyTier 的 SOCKS5 服务,即可访问虚拟网和虚拟网中的其他代理子网。 - -SOCKS5 服务的开启参数形为 `--socks5 12333`,将此参数加入 easytier-core 启动命令后,本机的 12333 端口即可服务于 SOCKS5 客户端。目前 SOCKS5 服务端无需用户名和密码验证,可直接使用。 +为了在无 TUN 模式下主动访问其他节点,可使用 EaayTier 的 [SOCKS5 服务器功能](/guide/network/socks5)。 diff --git a/guide/network/socks5.md b/guide/network/socks5.md new file mode 100644 index 0000000..d3de6ab --- /dev/null +++ b/guide/network/socks5.md @@ -0,0 +1,5 @@ +# SOCKS5 + +EasyTier 支持创建 SOCKS5 服务器,节点上的其他程序可以通过将代理设置为 EasyTier 的 SOCKS5 服务,即可访问虚拟网和虚拟网中的其他代理子网。 + +SOCKS5 服务的开启参数形为 `--socks5 12333`,将此参数加入 easytier-core 启动命令后,本机的 12333 端口即可服务于 SOCKS5 客户端。目前 SOCKS5 服务端无需用户名和密码验证,可直接使用。