Skip to content

Commit

Permalink
v20220707
Browse files Browse the repository at this point in the history
  • Loading branch information
txthinking committed Jun 15, 2022
1 parent 3e681eb commit aaffb3e
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 38 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,18 +95,16 @@ SRC --UDP--> brook client/relayoverbrook/dns/tproxy/GUI Client --UDP/TCP(Brook P
brook server --listen :9999 --password hello
```

Get brook link with `--udpovertcp`
Get brook link

```
brook link --server 1.2.3.4:9999 --password hello --udpovertcp --name 'my brook server'
brook link --server 1.2.3.4:9999 --password hello --name 'my brook server'
```

or get brook link with udp over udp

> Make sure you have no problem with your local UDP network to your server
or get brook link with `--udpovertcp`

```
brook link --server 1.2.3.4:9999 --password hello --name 'my brook server'
brook link --server 1.2.3.4:9999 --password hello --udpovertcp --name 'my brook server'
```

### Run brook wsserver
Expand Down
28 changes: 13 additions & 15 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ nami install brook

### 安装 Brook 图形客户端

- [iOS & M1 Mac](https://apps.apple.com/us/app/brook-a-cross-platform-proxy/id1216002642)
- iOS & M1 Mac: 请使用非中国大陆 Apple ID 下载
- [Android: Brook.apk](https://github.com/txthinking/brook/releases/latest/download/Brook.apk)
- [macOS](https://github.com/txthinking/brook/releases/latest/download/Brook.dmg)
- [Windows](https://github.com/txthinking/brook/releases/latest/download/Brook.exe)
- Windows: 需要你已经安装了最新版(基于 chromium 的那款)的 Edge 浏览器
- Windows 安全中心 病毒和威胁防护: 设置 -> 更新和安全 -> Windows 安全中心 -> 病毒和威胁防护 -> “病毒和威胁防护” 设置 -> 管理设置 -> 排除项 -> 添加或删除排除项 -> 添加排除项 文件 -> 选择 Brook.exe
- [OpenWrt](#官网原版-openwrt-图形客户端)
- [tun2brook](https://github.com/txthinking/tun2brook)
- [iOS & M1 Mac](https://apps.apple.com/us/app/brook-a-cross-platform-proxy/id1216002642)
- iOS & M1 Mac: 请使用非中国大陆 Apple ID 下载
- [Android: Brook.apk](https://github.com/txthinking/brook/releases/latest/download/Brook.apk)
- [macOS](https://github.com/txthinking/brook/releases/latest/download/Brook.dmg)
- [Windows](https://github.com/txthinking/brook/releases/latest/download/Brook.exe)
- Windows: 需要你已经安装了最新版(基于 chromium 的那款)的 Edge 浏览器
- Windows 安全中心 病毒和威胁防护: 设置 -> 更新和安全 -> Windows 安全中心 -> 病毒和威胁防护 -> “病毒和威胁防护” 设置 -> 管理设置 -> 排除项 -> 添加或删除排除项 -> 添加排除项 文件 -> 选择 Brook.exe
- [OpenWrt](#官网原版-openwrt-图形客户端)
- [tun2brook](https://github.com/txthinking/tun2brook)

[Brook GUI 工作原理](https://talks.txthinking.com/articles/brook.article)

Expand Down Expand Up @@ -96,18 +96,16 @@ SRC --UDP--> brook client/relayoverbrook/dns/tproxy/GUI Client --UDP/TCP(Brook P
brook server --listen :9999 --password hello
```

获取 brook link 让 udp 走 tcp `--udpovertcp`
获取 brook link

```
brook link --server 1.2.3.4:9999 --password hello --udpovertcp --name 'my brook server'
brook link --server 1.2.3.4:9999 --password hello --name 'my brook server'
```

或 获取 brook link 让 udp 走 udp

> 确保你本地到你服务器的 UDP 网络没有问题
或 获取 brook link 让 udp 走 tcp `--udpovertcp`

```
brook link --server 1.2.3.4:9999 --password hello --name 'my brook server'
brook link --server 1.2.3.4:9999 --password hello --udpovertcp --name 'my brook server'
```

### 运行 brook wsserver
Expand Down
2 changes: 1 addition & 1 deletion cli/brook/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var debugAddress string
func main() {
app := cli.NewApp()
app.Name = "Brook"
app.Version = "20220515"
app.Version = "20220707"
app.Usage = "A cross-platform network tool designed for developers"
app.Authors = []*cli.Author{
{
Expand Down
12 changes: 4 additions & 8 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -189,18 +189,14 @@ <h3><a name="run-brook-server" class="anchor" href="#run-brook-server" rel="nofo
<pre><code>brook server --listen :9999 --password hello
</code></pre>

<p>Get brook link with <code>--udpovertcp</code></p>
<p>Get brook link</p>

<pre><code>brook link --server 1.2.3.4:9999 --password hello --udpovertcp --name &#39;my brook server&#39;
<pre><code>brook link --server 1.2.3.4:9999 --password hello --name &#39;my brook server&#39;
</code></pre>

<p>or get brook link with udp over udp</p>

<blockquote>
<p>Make sure you have no problem with your local UDP network to your server</p>
</blockquote>
<p>or get brook link with <code>--udpovertcp</code></p>

<pre><code>brook link --server 1.2.3.4:9999 --password hello --name &#39;my brook server&#39;
<pre><code>brook link --server 1.2.3.4:9999 --password hello --udpovertcp --name &#39;my brook server&#39;
</code></pre>
<h3><a name="run-brook-wsserver" class="anchor" href="#run-brook-wsserver" rel="nofollow" aria-hidden="true"><span class="octicon octicon-link"></span></a>
Run brook wsserver</h3>
Expand Down
12 changes: 4 additions & 8 deletions docs/index_zh.html
Original file line number Diff line number Diff line change
Expand Up @@ -193,18 +193,14 @@ <h3><a name="运行-brook-server" class="anchor" href="#%E8%BF%90%E8%A1%8C-brook
<pre><code>brook server --listen :9999 --password hello
</code></pre>

<p>获取 brook link 让 udp 走 tcp <code>--udpovertcp</code></p>
<p>获取 brook link</p>

<pre><code>brook link --server 1.2.3.4:9999 --password hello --udpovertcp --name &#39;my brook server&#39;
<pre><code>brook link --server 1.2.3.4:9999 --password hello --name &#39;my brook server&#39;
</code></pre>

<p>或 获取 brook link 让 udp 走 udp</p>

<blockquote>
<p>确保你本地到你服务器的 UDP 网络没有问题</p>
</blockquote>
<p>或 获取 brook link 让 udp 走 tcp <code>--udpovertcp</code></p>

<pre><code>brook link --server 1.2.3.4:9999 --password hello --name &#39;my brook server&#39;
<pre><code>brook link --server 1.2.3.4:9999 --password hello --udpovertcp --name &#39;my brook server&#39;
</code></pre>
<h3><a name="运行-brook-wsserver" class="anchor" href="#%E8%BF%90%E8%A1%8C-brook-wsserver" rel="nofollow" aria-hidden="true"><span class="octicon octicon-link"></span></a>
运行 brook wsserver</h3>
Expand Down

0 comments on commit aaffb3e

Please sign in to comment.