本文为操作指引,目的在于快速使用gost搭建可绕过GFW的代理节点,相关细节不做展开。更为详细的内容请见「使用gost配置跨境隧道/通道」。
1.下载安装gost
gost 2.x Github项目地址及Release下载:
https://github.com/ginuerzh/gost https://github.com/ginuerzh/gost/releases
gost 3.0 rc Github项目地址及Release下载:
https://github.com/go-gost/gost https://github.com/go-gost/gost/releases
2.服务端
以 linux-amd64为例。下载安装:
mkdir -p /usr/local/bin/gost curl -sSL -o gost.tar.gz https://github.com/go-gost/gost/releases/download/v3.0.0-rc8/gost_3.0.0-rc8_linux_amd64v3.tar.gz && tar -zxvf ./gost.tar.gz -C /usr/local/bin/gost
启动服务端:
/usr/local/bin/gost/gost -L relay+wss://username:password@:port_number
3.客户端
3.1 linux-arm64
#apt update #apt upgrade -y mkdir -p /usr/local/bin/gost curl -sSL -o gost.tar.gz https://github.com/go-gost/gost/releases/download/v3.0.0-rc8/gost_3.0.0-rc8_linux_arm64.tar.gz && tar -zxvf ./gost.tar.gz -C /usr/local/bin/gost /usr/local/bin/gost/gost -L socks5://:10088 -F relay+wss://username:password@gost_server_ip:8443
3.2 windows-amd64
下载gost_3.0.0-rc8_windows_amd64v3.zip后,解压并进入解压文件夹,右键菜单选择“在终端中打开”。输入以下命令启动gost客户端:
.\gost -L socks5://:10088 -F relay+wss://username:password@server_ip:8443
4.Proxy SwitchyOmega插件配置
Edge和Chrome的Proxy SwitchyOmega插件获取安装链接分别如下:
https://microsoftedge.microsoft.com/addons/detail/proxy-switchyomega/fdbloeknjpnloaggplaobopplkdhnikc?hl=zh-CN https://chrome.google.com/webstore/detail/proxy-switchyomega/padekgcemlokbadohgkifijomclgjgif #建议直接在商店搜索或下载离线版安装
指向本地gost客户端(localhost或内网主机),可配置Proxy SwitchyOmega插件进行socks代理验证。
文章评论