aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 25e1144c41f8d0506322c98bf45a85c34bb1ade0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
## `IFF_VNET_HDR` for Android

Android's VPN framework does not allow setting `IFF_VNET_HDR` on tun devices.
This is a simple Zygisk module that sets this flag on tun devices for a
whitelisted set of packages - `com.wireguard.android` and
`com.wireguard.android.debug`.


### Building

You must have the `ANDROID_HOME` environment variable set and an NDK installed. Simply run:

```
$ make
```

Then install `wireguard-vnet-hdr.zip` in Magisk manager.


### License

This is a GPLv2 project.