Maybe you are looking for Portmaster solution. It is FOSS.
-
It automatically identifies each app that uses internet traffic. Portmaster gives you clear details:
- Which app uses the network activity.
- Where is this app in located in directory.
- When does it use the network activity.
- What protocols does it use.
- Show a history of its connection.
-
You can easily configure individual app in Portmaster setting for example:
- Block connection of this app
- Customizing the fireware rules for this app
- Enable SPN for this app (It is inspired by Tor) (Never use VPN. Why is VPN bad?)
-
Many statistics.
-
And more …
If you needs SPN feature, you have to pay it.
portmaster-stub-bin is available in AUR.
If you don’t trust the pre-built binary package enough, you can review and build the source code from git: https://github.com/safing/portmaster