How to block a program from using IPv4?
Posted
by
Ian Boyd
on Super User
See other posts from Super User
or by Ian Boyd
Published on 2012-11-19T12:44:54Z
Indexed on
2013/06/29
22:23 UTC
Read the original article
Hit count: 356
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 IPv4
itself.
In other words, I need to block IPv4:
- IPv4/TCP
- IPv4/UDP
- IPv4/ICMPv4
- IPv4/GRE
- IPv4/L2TP
while allowing IPv6:
- IPv6/TCP
- IPv6/UDP
- IPv6/ICMPv6
- IPv6/GRE
- IPv6/L2TP
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.
© Super User or respective owner