I have a program that can communicate over IPv4 (TCP and UDP) and over IPv6 (TCP and UDP). I want to block the program from being able to use IPv4.
I tried the Windows Firewall:
Except it blocks IP sub-protocols (e.g. TCP, UDP, encapsulated IPv6, GRE), rather than blocking
In other words, I need to block IPv4:
while allowing IPv6:
Can I block a program from using IPv4?
Note: If it cannot be done, then don't be afraid to add that as an answer. There's no shame in giving the correct answer to a question.