mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-15 22:50:24 +08:00
Merge branch 'main' of https://github.com/fumiama/WireGold
This commit is contained in:
BIN
.github/rikka.png
vendored
Executable file
BIN
.github/rikka.png
vendored
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 209 KiB |
44
README.md
44
README.md
@@ -1,2 +1,42 @@
|
|||||||
# WireGold
|
<div align="center">
|
||||||
Wire Golang Guard = WireGold
|
<img src=".github/rikka.png" width = "360" height = "360" alt="WireGold-Rikka"><br>
|
||||||
|
<h1>WireGold</h1>
|
||||||
|
Wire Golang Guard = WireGold<br><br>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
> If you are running in windows, remember to select the `wintun.dll` of your arch in `lower/wintun` and place it alongside the compiled exe
|
||||||
|
```bash
|
||||||
|
wg [-c config.yaml] [-g] [-h] [-p]
|
||||||
|
|
||||||
|
-c string
|
||||||
|
specify conf file (default "config.yaml")
|
||||||
|
-g generate key pair
|
||||||
|
-h display this help
|
||||||
|
-p show my publickey
|
||||||
|
```
|
||||||
|
|
||||||
|
## Config file example
|
||||||
|
```yaml
|
||||||
|
IP: 192.168.233.1
|
||||||
|
SubNet: 192.168.233.0/24
|
||||||
|
PrivateKey: 暲菉斂狧污爉窫擸紈卆帞蔩慈睠庮扝憚瞼縀
|
||||||
|
EndPoint: 0.0.0.0:56789
|
||||||
|
Peers:
|
||||||
|
-
|
||||||
|
IP: "192.168.233.2"
|
||||||
|
SubNet: 192.168.233.0/24
|
||||||
|
PublicKey: 徯萃嵾爻燸攗窍褃冔蒔犡緇袿屿組待族砇嘀
|
||||||
|
EndPoint: that.host2.com:56789
|
||||||
|
AllowedIPs: ["192.168.233.2/32"]
|
||||||
|
KeepAliveSeconds: 0
|
||||||
|
AllowTrans: false
|
||||||
|
-
|
||||||
|
IP: "192.168.233.3"
|
||||||
|
SubNet: 192.168.233.0/24
|
||||||
|
PublicKey: 牢喨粷詸衭譛浾蘹櫠砙杹蟫瑳叩刋橋経挵蘀
|
||||||
|
EndPoint: that.host3.com:56789
|
||||||
|
AllowedIPs: ["192.168.233.3/32"]
|
||||||
|
KeepAliveSeconds: 0
|
||||||
|
AllowTrans: false
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user