Goflyway一键安装脚本 高效HTTP隧道代理工具Goflyway搭建 v2.0版本

 

 

 

Goflyway是一款轻量高效的HTTP代理工具,相比普通HTTP代理工具,Goflyway还具有以下特点:

  • 支持http header加密。
  • 支持Websocket,可以与CDN搭配使用。
  • 支持将TCP流量转化为KCP流量,以UDP协议传输。

基于以上特点,Goflyway除了以基础的代理功能实现科学上网外,还可以实现:

  • 与Cloudflare等CDN配合,救活被墙VPS服务器IP。
  • 将TCP流量转化为UDP流量,救活被TCP阻断的VPS服务器。

 

与Shasowsocks/SSR/V2ray/Trojan等其它代理工具类似,Goflyway也需要服务器端和本地客户端相互连接,连接成功之后实现科学上网,下面我们介绍下Goflyway服务器端的一键搭建。

 

Goflyway搭建前的准备工作

在搭建Goflyway之前,我们需要做一点准备工作。

1.购买一个国外VPS服务器。

这里推荐搬瓦工或者Vultr,口碑和性价比都不错。

注意:在安装系统时,建议选择Debain 8 及以上,或者Ubuntu 16 及以上。

 

2.安装下文介绍的Goflyway一键脚本。

 

3.使用Goflyway客户端连接服务器,连接成功后即可实现科学上网。

 

如果你觉得以上搭建流程过于繁琐,那么可以考虑JustMySocks的代理服务,可以免去手动搭建直接使用,CN2/CN2GIA线路,免费更换被墙IP,使用更省心。

 

 

Goflyway一键安装脚本 使用教程

脚本适用环境:

  • CentOS 6+
  • Debian 6+
  • Ubuntu 14.04 +

 

搭建流程:

1.用Putty连接VPS服务器,右键复制以下命令运行:

 

2.在出现脚本菜单界面时,输入数字1回车,开始安装Goflyway:

 

 

3.输入Goflyway的监听端口,考虑到后续的伪装网站以及CDN使用需求,建议将端口设置为80。

 

 

4.在设置Goflyway密码时,建议不要使用默认配置,输入一个稍复杂的密码:

 

 

5.选择Goflyway的传输协议,直接回车键即可选择HTTP协议。

 

 

6.输入Goflyway要伪装的第三方网站域名,设置之后,可以通过反向代理功能,将你的服务器伪装成一个网站,免去自己搭建网站的麻烦。

由于Goflyway并不支持HTTPS协议,因此建议找一个http开头的国外网站进行反代,类似:

 

7.以上各项设置完成后,Goflyway会自动完成安装过程,目前最新版本为v2.0。安装成功后的界面如下图所示,会提供Goflyway的各项连接参数。

注意:

  • 图中的链接、二维码以及Goflyway Tools,这三项非必须项。
  • 由于逗比网站项目已经停止,图中提供的Goflyway Tools链接,也是无效的,可以忽略。

 

 

Goflyway服务器搭建完成后,可以使用Goflyway客户端,输入上面提供的参数进行连接,连接成功后即可实现科学上网。

关于Goflyway客户端的相关内容,我们随后会专门介绍。

 

 

Goflyway一键脚本 常用功能及命令

1.Goflyway文件位置

  • Goflyway安装目录:/usr/local/goflyway
  • Goflyway配置文件:/usr/local/goflyway/goflyway.conf
  • Goflyway日志文件:/usr/local/goflyway/goflyway.log

 

2.Goflyway常用命令

 

3.如何修改Goflyway连接参数

重新运行一键脚本,在脚本主菜单中输入数字7回车,即可进入账号配置界面,主要功能:

  • 修改端口配置
  • 修改密码配置
  • 修改传输协议
  • 修改伪装配置
  • 修改全部配置
  • 监控运行状态(进程守护)

 

 

4.如何卸载Goflyway

重新运行一键脚本,在脚本主菜单界面,输入数字3回车,即可卸载Goflyway。

 

5.Goflyway的一些不足

  • 目前Goflyway已经较长时间没有更新
  • 使用代理过程中,可能存在DNS泄露

如果你需要代理工具+CDN的组合,又对以上两点比较介意,那么也可以考虑:

V2ray+CDN搭建代理,救活被墙VPS IP(V2ray+WS+TLS+Cloudflare CDN)

或者:

Trojan+CDN搭建代理服务器,救活被墙VPS IP(Trojan-Go+TLS+Cloudflare CDN)

 

 

Goflyway搭建后的网络优化

以上各步骤完成后,Goflyway服务器端已经搭建完成,可以直接使用了。

不过我们可以通过一些额外措施,进一步优化Goflyway的连接速度,提高使用体验。

Goflyway使用的是TCP流量,我们可以为服务器安装TCP加速工具,比如BBR或锐速,对Goflyway进一步优化。这里我们更推荐安装BBR,因为锐速较容易安装失败。

BBR一键安装脚本汇总(任选其一):

 

 

其它常用代理工具 一键搭建脚本

Shadowsocks一键安装脚本使用教程

SSR一键安装脚本使用教程

V2ray一键安装脚本使用教程

Trojan一键安装脚本使用教程

WireGuard一键安装脚本使用教程

 

 

留言评论

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code

WordPress数据库错误: [Table 'ssrvps.vps_autoblog_queue' doesn't exist]
select * from vps_autoblog_queue where is_running >0

WordPress数据库错误: [Table 'ssrvps.vps_autoblog_queue' doesn't exist]
select count(*) from vps_autoblog_queue where task_id=6 and is_running>0

WordPress数据库错误: [Table 'ssrvps.vps_autoblog_queue' doesn't exist]
select id,fetched,is_running,last_date_time from vps_autoblog_queue where task_id=6 and source_url_key='85f8e27ce55bd78fd33f47d2b1409198'

WordPress数据库错误: [Table 'ssrvps.vps_autoblog_queue' doesn't exist]
insert into vps_autoblog_queue(task_id,source_url,source_url_key,create_date_time,not_check_stoped,post_interval) values(6,'https://www.hijk.pw/post-sitemap.xml','85f8e27ce55bd78fd33f47d2b1409198',1750368544,0,0)

WordPress数据库错误: [Table 'ssrvps.vps_autoblog_queue' doesn't exist]
select count(*) from vps_autoblog_queue where task_id=4 and is_running>0

WordPress数据库错误: [Table 'ssrvps.vps_autoblog_queue' doesn't exist]
select id,fetched,is_running,last_date_time from vps_autoblog_queue where task_id=4 and source_url_key='54b1dccf98c13c81f546faf82132bc77'

WordPress数据库错误: [Table 'ssrvps.vps_autoblog_queue' doesn't exist]
insert into vps_autoblog_queue(task_id,source_url,source_url_key,create_date_time,not_check_stoped,post_interval) values(4,'https://ssr.tools/sitemap-posttype-post.2020.xml','54b1dccf98c13c81f546faf82132bc77',1750368544,0,0)

WordPress数据库错误: [Table 'ssrvps.vps_autoblog_queue' doesn't exist]
select count(*) from vps_autoblog_queue where task_id=2 and is_running>0

WordPress数据库错误: [Table 'ssrvps.vps_autoblog_queue' doesn't exist]
select id,fetched,is_running,last_date_time from vps_autoblog_queue where task_id=2 and source_url_key='91372ddcd9e4809b115feaa5b6f00815'

WordPress数据库错误: [Table 'ssrvps.vps_autoblog_queue' doesn't exist]
insert into vps_autoblog_queue(task_id,source_url,source_url_key,create_date_time,not_check_stoped,post_interval) values(2,'https://tlanyan.me/post-sitemap.xml','91372ddcd9e4809b115feaa5b6f00815',1750368544,0,0)

WordPress数据库错误: [Table 'ssrvps.vps_autoblog_queue' doesn't exist]
select count(*) from vps_autoblog_queue where task_id=7 and is_running>0

WordPress数据库错误: [Table 'ssrvps.vps_autoblog_queue' doesn't exist]
select id,fetched,is_running,last_date_time from vps_autoblog_queue where task_id=7 and source_url_key='569e17863f7693f1afa9e9256af9dcff'

WordPress数据库错误: [Table 'ssrvps.vps_autoblog_queue' doesn't exist]
insert into vps_autoblog_queue(task_id,source_url,source_url_key,create_date_time,not_check_stoped,post_interval) values(7,'https://aisoa.cn/sitemap.xml','569e17863f7693f1afa9e9256af9dcff',1750368544,0,0)

WordPress数据库错误: [Table 'ssrvps.vps_autoblog_queue' doesn't exist]
select count(*) from vps_autoblog_queue where task_id=9 and is_running>0

WordPress数据库错误: [Table 'ssrvps.vps_autoblog_queue' doesn't exist]
select id,fetched,is_running,last_date_time from vps_autoblog_queue where task_id=9 and source_url_key='cc9416f8df40d8c3a48e66856b1cd6fd'

WordPress数据库错误: [Table 'ssrvps.vps_autoblog_queue' doesn't exist]
insert into vps_autoblog_queue(task_id,source_url,source_url_key,create_date_time,not_check_stoped,post_interval) values(9,'https://www.v2rayssr.com/sitemap.xml','cc9416f8df40d8c3a48e66856b1cd6fd',1750368544,0,0)

WordPress数据库错误: [Table 'ssrvps.vps_autoblog_queue' doesn't exist]
select count(*) from vps_autoblog_queue where task_id=10 and is_running>0

WordPress数据库错误: [Table 'ssrvps.vps_autoblog_queue' doesn't exist]
select id,fetched,is_running,last_date_time from vps_autoblog_queue where task_id=10 and source_url_key='74714f67855820f0c701ce905b231f27'

WordPress数据库错误: [Table 'ssrvps.vps_autoblog_queue' doesn't exist]
insert into vps_autoblog_queue(task_id,source_url,source_url_key,create_date_time,not_check_stoped,post_interval) values(10,'https://doubibackup.com/sitemap.xml','74714f67855820f0c701ce905b231f27',1750368544,0,0)

WordPress数据库错误: [Table 'ssrvps.vps_autoblog_queue' doesn't exist]
select id,is_running,last_post_time,post_interval,not_check_stoped from vps_autoblog_queue WHERE is_running>0 and fetched=0 order BY id ASC

WordPress数据库错误: [Table 'ssrvps.vps_autoblog_queue' doesn't exist]
select id,sn_id from vps_autoblog_queue WHERE is_running=0 and fetched=0 order BY id ASC LIMIT 1