mirror of
https://github.com/whyvl/wireproxy.git
synced 2025-04-29 19:01:42 +02:00
Update README.md
This commit is contained in:
parent
0ec17be3cc
commit
68159077e2
1 changed files with 8 additions and 4 deletions
12
README.md
12
README.md
|
@ -16,6 +16,10 @@ and configured my browser to use wireproxy for certain sites. It's pretty useful
|
||||||
wireproxy is completely isolated from my network interfaces, and I don't need root to configure
|
wireproxy is completely isolated from my network interfaces, and I don't need root to configure
|
||||||
anything.
|
anything.
|
||||||
|
|
||||||
|
# Feature
|
||||||
|
- TCP static routing for client and server
|
||||||
|
- SOCKS5 proxy (currently only CONNECT is supported)
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
```
|
```
|
||||||
./wireproxy [path to config]
|
./wireproxy [path to config]
|
||||||
|
@ -28,16 +32,16 @@ anything.
|
||||||
# https://wiki.archlinux.org/title/WireGuard#Persistent_configuration
|
# https://wiki.archlinux.org/title/WireGuard#Persistent_configuration
|
||||||
# https://www.wireguard.com/#simple-network-interface
|
# https://www.wireguard.com/#simple-network-interface
|
||||||
[Interface]
|
[Interface]
|
||||||
Address = 10.200.200.2/32
|
Address = 10.200.200.2/32 # The subnet should be /32 and /128 for IPv4 and v6 respectively
|
||||||
MTU = 1420
|
# MTU = 1420 (optional)
|
||||||
PrivateKey = uCTIK+56CPyCvwJxmU5dBfuyJvPuSXAq1FzHdnIxe1Q=
|
PrivateKey = uCTIK+56CPyCvwJxmU5dBfuyJvPuSXAq1FzHdnIxe1Q=
|
||||||
DNS = 10.200.200.1
|
DNS = 10.200.200.1
|
||||||
|
|
||||||
[Peer]
|
[Peer]
|
||||||
PublicKey = QP+A67Z2UBrMgvNIdHv8gPel5URWNLS4B3ZQ2hQIZlg=
|
PublicKey = QP+A67Z2UBrMgvNIdHv8gPel5URWNLS4B3ZQ2hQIZlg=
|
||||||
PresharedKey = UItQuvLsyh50ucXHfjF0bbR4IIpVBd74lwKc8uIPXXs=
|
# PresharedKey = UItQuvLsyh50ucXHfjF0bbR4IIpVBd74lwKc8uIPXXs= (optinal)
|
||||||
Endpoint = my.ddns.example.com:51820
|
Endpoint = my.ddns.example.com:51820
|
||||||
PersistentKeepalive = 25
|
# PersistentKeepalive = 25 (optinal)
|
||||||
|
|
||||||
# TCPClientTunnel is a tunnel listening on your machine,
|
# TCPClientTunnel is a tunnel listening on your machine,
|
||||||
# and it forwards any TCP traffic received to the specified target via wireguard.
|
# and it forwards any TCP traffic received to the specified target via wireguard.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue