Groups
Sign in
Groups
go-gost
Conversations
About
Send feedback
Help
Log里任何网址都是报告404。。。哪配错了?
102 views
Skip to first unread message
Jianyong Yin
unread,
Nov 8, 2021, 2:34:12 AM
11/8/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to go-gost
参考左耳朵耗子的文章配的(
https://github.com/haoel/haoel.github.io
)
亚马逊的虚拟机跑的ubuntu 20.04.3 LTS,用了文章里的脚本:
#!/bin/bash
## 下面的四个参数需要改成你的
DOMAIN="
YOU.DOMAIN.NAME
"
USER="username"
PASS="password"
PORT=443
BIND_IP=0.0.0.0
CERT_DIR=/etc/letsencrypt
CERT=${CERT_DIR}/live/${DOMAIN}/fullchain.pem
KEY=${CERT_DIR}/live/${DOMAIN}/privkey.pem
sudo docker run -d --name gost \
-v ${CERT_DIR}:${CERT_DIR}:ro \
--net=host ginuerzh/gost \
-L "http2://${USER}:${PASS}@${BIND_IP}:${PORT}?cert=${CERT}&key=${KEY}&probe_resist=code:404&knock=
www.google.com
"
已经配了自己的域名和证书,替换了用户名密码
苹果手机下载的Potatso Lite,配置好之后,手机浏览器访问google首页可以出来,搜索不行,twitter等其他网址也不行,貌似只返回了knock里配置的网站?但是把knock删掉也没用。
很多404在gost log里:
2021/11/08 05:58:17 http.go:161: [http]
117.136.0.178:43781
->
https://0.0.0.0:443
->
twitter.com:443
2021/11/08 05:58:17 http.go:166: [http]
117.136.0.178:43781
->
172.26.10.237:443
CONNECT
twitter.com:443
HTTP/1.0
Host:
twitter.com:443
Connection: close
2021/11/08 05:58:17 http.go:383: [http]
117.136.0.178:43781
<-
172.26.10.237:443
HTTP/1.1 404 Not Found
Date: Mon, 08 Nov 2021 05:58:17 GMT
Server: nginx/1.14.1
Content-Length: 0
2021/11/08 05:58:43 http.go:161: [http]
117.136.0.178:43782
->
https://0.0.0.0:443
->
www.google.com:443
2021/11/08 05:58:43 http.go:166: [http]
117.136.0.178:43782
->
172.26.10.237:443
CONNECT
www.google.com:443
HTTP/1.0
Host:
www.google.com:443
Connection: close
2021/11/08 05:58:43 http.go:362: [http]
117.136.0.178:43782
<-
172.26.10.237:443
: proxy authentication required
2021/11/08 05:58:43 http.go:383: [http]
117.136.0.178:43782
<-
172.26.10.237:443
HTTP/1.1 407 Proxy Authentication Required
Proxy-Agent: gost/2.11.1
Proxy-Authenticate: Basic realm="gost"
Content-Length: 0
2021/11/08 05:58:52 http.go:161: [http]
117.136.0.178:43783
->
https://0.0.0.0:443
->
www.google.com:443
2021/11/08 05:58:52 http.go:166: [http]
117.136.0.178:43783
->
172.26.10.237:443
CONNECT
www.google.com:443
HTTP/1.0
Host:
www.google.com:443
Connection: close
2021/11/08 05:58:52 http.go:362: [http]
117.136.0.178:43783
<-
172.26.10.237:443
: proxy authentication required
2021/11/08 05:58:52 http.go:383: [http]
117.136.0.178:43783
<-
172.26.10.237:443
HTTP/1.1 407 Proxy Authentication Required
Proxy-Agent: gost/2.11.1
Proxy-Authenticate: Basic realm="gost"
Content-Length: 0
请各位帮忙看看怎么回事,谢谢
Jianyong Yin
unread,
Nov 8, 2021, 2:40:32 AM
11/8/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to go-gost
忘了说了,gost版本是2.11.1
Reply all
Reply to author
Forward
0 new messages