mirror of
https://github.com/lucheng0127/virtuallan.git
synced 2025-09-26 20:51:11 +08:00
Add windows support to README
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,4 +1,6 @@
|
||||
.vscode
|
||||
virtuallan
|
||||
virtuallan.exe
|
||||
main
|
||||
main.exe
|
||||
test
|
||||
|
18
README.md
18
README.md
@@ -34,6 +34,24 @@ make
|
||||
>IMG=\<your image name>:\<tag> make build-docker
|
||||
```
|
||||
|
||||
**Windows support**
|
||||
|
||||
1. Before launch it, make sure [tap-windows](https://github.com/OpenVPN/tap-windows6) has been install.
|
||||
2. Install a Tap-Windows Adapter
|
||||
```
|
||||
.\devcon.exe OemVista.inf tap0901
|
||||
```
|
||||
3. Checkout to win branch
|
||||
4. Build a windows exe
|
||||
```
|
||||
GOOS=windows GOARCH=amd64 go build -o virtuallan.exe main.go
|
||||
```
|
||||
5. Launch virtuallan.exe
|
||||

|
||||
6. Enjoy it
|
||||

|
||||

|
||||
|
||||
go generate will generate an random aes key
|
||||
|
||||
## Ready to use
|
||||
|
BIN
docs/statics/ip.png
Normal file
BIN
docs/statics/ip.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 120 KiB |
BIN
docs/statics/login.png
Normal file
BIN
docs/statics/login.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
BIN
docs/statics/ping.png
Normal file
BIN
docs/statics/ping.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 120 KiB |
Reference in New Issue
Block a user