Skip to content

Commit b5bc6c0

Browse files
authored
Update README.md (#18)
1 parent c8d014f commit b5bc6c0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,16 @@ $ netguard-server -c ./netguard.toml
3939

4040
### Run knock tool
4141

42-
On client site, Using `netguard-tool` to send knock packets:
42+
On client site, Using `netguard-tool` to send TCP port knock packets.
43+
44+
The following command sends a knock packet to unlock TCP port 10022:
4345

4446
```shell
4547
$ sudo ./netguard-tool auth --server 45.76.195.141 --protocol=tcp --unlock 10022 --key=./rsa_key
4648
```
4749

50+
If want to unlock a UDP port, use `--protocol=udp`
51+
4852
### Example
4953

5054
Two devices, one listening on port 10022 and then taken over by `netguard-server`:

0 commit comments

Comments
 (0)