How to make your own simple fiirewall!(VB.NET)
Posted: Thu Dec 23, 2010 3:20 am
Hello coden'stuff this my tutorial i figured out how to make your own firewall without the extensive lines of code of making a real one. This code is even smaller than the one for adding controls for the windows firewall! Yes this is real and really easy, so easy infact that i am making this tutorial about this.
First before putting up the code for this, you will need to add a object. do the following-
Go to Project >Add Reference > Click COM > Press 'F' > Click FirewallCPL LUA 1.0 Type Library
Ok that is the firewall. there you made a firewall, lol!
after that import this -
Imports FwCplLua
after that you will need to add some code.
Automaticly when the program/form starts it will start the firewall, if you want to have programs allowed to get past the firewall put this.
firewall.AddProgram("Title", Path, 7, 0, PORTTCP, PORTUDP)
That is how you make a simple firewall, but of course you can add to it. Just figure it out yourself.
YEAH ANOTHER AWESOME TUTORIAL! lmao; lmao; lmao; lmao; lmao; lmao; lmao;
First before putting up the code for this, you will need to add a object. do the following-
Go to Project >Add Reference > Click COM > Press 'F' > Click FirewallCPL LUA 1.0 Type Library
Ok that is the firewall. there you made a firewall, lol!
after that import this -
Imports FwCplLua
after that you will need to add some code.
Automaticly when the program/form starts it will start the firewall, if you want to have programs allowed to get past the firewall put this.
firewall.AddProgram("Title", Path, 7, 0, PORTTCP, PORTUDP)
That is how you make a simple firewall, but of course you can add to it. Just figure it out yourself.
YEAH ANOTHER AWESOME TUTORIAL! lmao; lmao; lmao; lmao; lmao; lmao; lmao;