Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
G
gost
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
gost
Commits
fb3796ec
Commit
fb3796ec
authored
Jan 07, 2017
by
rui.zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update README
parent
2508491d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
0 deletions
+53
-0
README.md
README.md
+10
-0
README_en.md
README_en.md
+43
-0
No files found.
README.md
View file @
fb3796ec
...
...
@@ -17,6 +17,7 @@ gost - GO Simple Tunnel
*
支持HTTP 2.0 (2.2+)
*
实验性支持QUIC (2.3+)
*
支持KCP协议 (2.3+)
*
透明代理 (2.3+)
二进制文件下载:https://github.com/ginuerzh/gost/releases
...
...
@@ -55,6 +56,8 @@ protocol: 代理协议类型(http, socks5, shadowsocks), transport: 数据传输
> kcp - 作为KCP代理,kcp://:8388或kcp://aes:123456@:8388
> redirect - 作为透明代理,redirect://:12345
#### 端口转发
适用于-L参数
...
...
@@ -238,6 +241,13 @@ gost -L=kcp://:8388?c=/path/to/conf/file
**注:**
客户端若要开启KCP转发,当且仅当代理链不为空且首个代理节点(第一个-F参数)为kcp类型。
当KCP转发开启,代理链中的其他代理节点将被忽略。
#### 透明代理
基于iptables的透明代理。
```
bash
gost
-L
=
redirect://:12345
-F
=
http2://server_ip:443
```
加密机制
------
#### HTTP
...
...
README_en.md
View file @
fb3796ec
...
...
@@ -15,6 +15,7 @@ Features
*
HTTP 2.0 support (2.2+)
*
Experimental QUIC support (2.3+)
*
KCP protocol support (2.3+)
*
Transparent proxy (2.3+)
Binary file download:https://github.com/ginuerzh/gost/releases
...
...
@@ -55,6 +56,8 @@ transport: data transmission mode (ws, wss, tls, http2, quic, kcp), may be used
> kcp - standard KCP tunnel,kcp://:8388 or kcp://aes:123456@:8388
> redirect - transparent proxy,redirect://:12345
#### Port forwarding
Effective for the -L parameter
...
...
@@ -68,6 +71,26 @@ scheme://[bind_address]:port/[host]:hostport
> host:hostport - target address
#### Configuration file
> -C : specifies the configuration file path
The configuration file is in standard JSON format:
```
json
{
"ServeNodes"
:
[
":8080"
,
"ss://chacha20:12345678@:8338"
],
"ChainNodes"
:
[
"http://192.168.1.1:8080"
,
"https://10.0.2.1:443"
]
}
```
ServeNodes is equivalent to the -L parameter, ChainNodes is equivalent to the -F parameter.
#### Logging
> -logtostderr : log to console
...
...
@@ -92,6 +115,19 @@ gost -L=:8080
gost
-L
=
admin:123456@localhost:8080
```
*
Multiple sets of authentication information
```
bash
gost
-L
=
localhost:8080?secrets
=
secrets.txt
```
The secrets parameter allows you to set multiple authentication information for HTTP/SOCKS5 proxies, the format is:
```
plain
# username password
test001 123456
test002 12345678
```
*
Listen on multiple ports
```
bash
gost
-L
=
http2://:443
-L
=
socks://:1080
-L
=
ss://aes-128-cfb:123456@:8338
...
...
@@ -206,6 +242,13 @@ gost -L=kcp://:8388?c=/path/to/conf/file
**NOTE:**
KCP will be enabled if and only if the proxy chain is not empty and the first proxy node (the first -F parameter) is of type KCP.
When KCP is enabled, other proxy nodes are ignored.
#### Transparent proxy
Iptables-based transparent proxy
```
bash
gost
-L
=
redirect://:12345
-F
=
http2://server_ip:443
```
Encryption Mechanism
------
#### HTTP
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment