StarGW-net / karma-firewall

Apache License 2.0
100 stars 12 forks source link

Can't use vpn and karma-firewall at same time #6

Open ghost opened 1 year ago

StarGW-net commented 1 year ago

karma-firewall uses a VPN to firewall traffic. Android only allows one VPN at a time. So unfortunately its not possible.

ghost commented 1 year ago

karma-firewall uses a VPN to firewall traffic. Android only allows one VPN at a time. So unfortunately its not possible.

Instead of using vpn firewall could we use proxy firewall

ghost commented 1 year ago

karma-firewall uses a VPN to firewall traffic. Android only allows one VPN at a time. So unfortunately its not possible.

Instead of using vpn firewall could we use proxy firewall

Is it possible ?

StarGW-net commented 1 year ago

No, I do not think a proxy firewall would be possible. Not sure how it would work, and it would probably need to see all the traffic which is not something we want.

Gabr-F commented 10 months ago

Not being to use a vpn unfortunately is a big limitation. The fault of Google for the most part, true, but if there's a way to workaround the problem it would be better to do it.

Yes, it probably would require monitoring the traffic, but since now the app is on F-Droid that's much less an issue (and you could do it only when it's required for an enabled feature).

See here and here how Netguard does it (it simply supports proxies).

VA1DER commented 6 months ago

The best way I can think of would be to combine Karma and wireguard into one app. This would be a lot of work, but you'd end up with an innovative solution, and one that would get a lot of attention.

JoaoVictorVP commented 4 months ago

@Gabr-F Sure?

If the VPN application is using the VPN service, then no, because NetGuard needs to use this service. Android allows only one application at a time to use this service.

I think they have a workaround more than a literal support for other apps with VPN services (since they indeed are using it).