I want to make a simple program that can restrict any communication over the internet except for some specific ip's. So that the user can eliminate any unwanted traffic. It has to be simple and the user must be able to switch it on and off on the fly.
My first thought was to use Windows Firewall and set it up using C#/WPF. And it might be possible. But is there a more simple way?
Platform: Vindows 7, .NET 3.5
Cheers
I would just use windows firewall as you mentioned. Much simpler. Here is a good tutorial on modifying the windows firewall in C#.