https://github.com/lastbyte32/wg-fake
Fake handshake for WireGuard. Allows to bypass DPI blocking of the WireGuard protocol by sending a "magic" packet.
https://github.com/lastbyte32/wg-fake
dpi handshake wg
Last synced: 2 months ago
JSON representation
Fake handshake for WireGuard. Allows to bypass DPI blocking of the WireGuard protocol by sending a "magic" packet.
- Host: GitHub
- URL: https://github.com/lastbyte32/wg-fake
- Owner: lastbyte32
- Created: 2024-02-21T17:18:48.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-16T09:12:20.000Z (about 1 year ago)
- Last Synced: 2025-06-27T11:41:04.784Z (9 months ago)
- Topics: dpi, handshake, wg
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 34
- Watchers: 1
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wg-fake
Fake handshake for WireGuard.
Allows to bypass DPI blocking of the WireGuard protocol by sending a "magic" packet.
### Binaries
Pre-built binaries are available [here](https://github.com/lastbyte32/wg-fake/releases/latest).
### Build from source
Run in the source directory:
```bash
$ git clone https://github.com/lastbyte32/wg-fake.git
$ make
```
Binary will be available in the `build` directory.
### Usage
In the WireGuard client configuration file, set a fixed ***ListenPort***
```
ListenPort =
```
and then right before connection start run command:
```bash
$ ./wg-fake -s -p
```
After successful result, you can use WireGuard client to connect to the server.
> If you use wg-quick it may be convenient to add wg-fake invocation as a PreUp command in your client config.