amnezia-vpn / amneziawg-android

AmneziaWG for Android
Apache License 2.0
58 stars 16 forks source link

FR: Disallowed IPs input boxes / function #12

Open fhteagle opened 2 weeks ago

fhteagle commented 2 weeks ago

Greetings, and thanks for this project.

I have a single WG profile that simultaneously connects to my home for known LAN IP rages and simultaneously to a third party WG VPN service for the rest of the internet. I can of course set allowedIPs ranges for each. However, to correctly route only public IP ranges via third party WG VPN, the AllowedIPs for the third party WG VPN peer is an absolute mess.

I believe this use case could be simplified by allowing an input of DisallowedIPs for each peer, and setting iptables appropriately on PostUp/PostDown. But I do not see any input boxes for DisAllowedIPs.

Or if there is another way I should be going about this, please advise.