Click to Block for Internet Only Traffic

I’m looking for a feature that would block only Internet Destined Traffic, while permitting local LAN traffic for a specific App.

When activated, this feature creates a rule or configuration that specifically targets the selected application. It intercepts and examines the network traffic generated by the application, filtering out any data packets intended for internet destinations.

By blocking internet-bound traffic for the chosen application, the feature ensures that communication is limited to the local LAN environment. This means that the application can still interact with other devices and services within the same local network, but it won’t be able to establish connections or send/receive data to or from the internet.