Route DNS into the VPN

This commit is contained in:
M66B 2016-01-22 19:43:23 +01:00
parent 1bdb7b86cb
commit ec77f7403e
1 changed files with 1 additions and 0 deletions

View File

@ -677,6 +677,7 @@ public class SinkholeService extends VpnService implements SharedPreferences.OnS
builder.addRoute("0.0.0.0", 0);
builder.addRoute("0:0:0:0:0:0:0:0", 0);
builder.addDnsServer("8.8.8.8");
// Add list of allowed applications
if (last_connected && !filter)