mirror of
https://github.com/KusakabeShi/EtherGuard-VPN.git
synced 2025-02-26 20:20:47 +01:00
Udate readme.md
This commit is contained in:
parent
c42289f4bd
commit
fb2a967a60
10
README_zh.md
10
README_zh.md
@ -56,7 +56,10 @@ Usage of ./etherguard-go-vpp:
|
||||
可以參考下面的配置,但是 `/tmp/test` , `example.com` , `192.168.76.0/24` , `fd95:71cb:a3df:e586::/64` , `fe80::a3df:0/112` 請記得換掉
|
||||
|
||||
```
|
||||
> ./etherguard-go -mode gencfg -cfgmode super
|
||||
$ ./etherguard-go -mode gencfg -cfgmode super
|
||||
```
|
||||
然後按照提示輸入即可
|
||||
```
|
||||
Config save path (eg_generated_configs) :/tmp/test
|
||||
SuperConfig template path(optional) :
|
||||
EdgeTamplatePath template path(optional) :
|
||||
@ -73,6 +76,11 @@ IPv6 block(optional) :fd95:71cb:a3df:e586::/64
|
||||
IPv6LL block(optional) :fe80::a3df:0/112
|
||||
```
|
||||
|
||||
順帶一提,最後三個欄位,IP的部分可以直接省略沒關係
|
||||
這個欄位唯一的目的只是在啟動以後,調用ip命令,幫tap接口加個ip
|
||||
和VPN本身運作完全無關
|
||||
VPN起來以後,自己手動加ip也行
|
||||
|
||||
## Build
|
||||
|
||||
### No-vpp version
|
||||
|
@ -45,10 +45,6 @@ func readFLn(promptF string, checkFn func(string) error, defaultAns func() strin
|
||||
return text
|
||||
}
|
||||
|
||||
func noCheck(string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func genSuperCfg() error {
|
||||
gencfg_reader = bufio.NewReader(os.Stdin)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user