老E的博客

  • 首页
  • 关于
  • 技术应用
    • VPS相关
    • AI相关
    • 盒子相关
    • 其他
  • 订阅Youtube频道
  • 网络加速
    • expressvpnNo.1 ExpressVPN
    • 最佳免费VPN-PrivadoVPN
    • NordVPN
    • 廉价王者-Surfshark
    • PrivateInternetAccess
    • 解锁一切-PrivateVPN
  • 公益资源
    • AI导航
    • 工具下载
    • Docker镜像加速
  • 友情链接
    • tickcloudTickcloud
老E的博客
专注记录并分享跨境技术应用及随想
  1. 首页
  2. 技术应用
  3. VPS相关
  4. 正文

使用gost建立跨境加密通道

2023年8月1日 1761次阅读 0条评论
clawcloud
expressvpn best vpn
privado vpn
surfshark vpn
private vpn
pia vpn
nord vpn

本文为操作指引,目的在于快速使用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代理验证。

本作品采用 知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议 进行许可
标签: gost 翻墙 隧道
最后更新:2024年5月28日

老E

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

站内搜索
归档
  • 2025 年 5 月
  • 2025 年 4 月
  • 2025 年 3 月
  • 2025 年 2 月
  • 2025 年 1 月
  • 2024 年 12 月
  • 2024 年 11 月
  • 2024 年 10 月
  • 2024 年 9 月
  • 2024 年 8 月
  • 2024 年 7 月
  • 2024 年 6 月
  • 2024 年 5 月
  • 2024 年 4 月
  • 2024 年 3 月
  • 2024 年 2 月
  • 2024 年 1 月
  • 2023 年 12 月
  • 2023 年 11 月
  • 2023 年 10 月
  • 2023 年 9 月
  • 2023 年 8 月
  • 2023 年 7 月
  • 2023 年 6 月

Copyright ©2023-2025 Appscross. All Rights Reserved.