Discussion forum for all Windows batch related topics.
Moderator: DosItHelp
-
ogneniq_kinjal
- Posts: 3
- Joined: 24 Nov 2007 13:44
- Location: Bulgaria, Sofia
#1
Post
by ogneniq_kinjal » 30 Nov 2007 16:04
Hello. This time i want to ask is there a way to add a program into the exeption list of a Firewall different from the Windows Firewall. For example Sygate Firewall. Is there a way to retype that command
so that when it's placed into a batch file, to add exact program in the exeption list of the Firewall ?
Thanks a lot in advanced.
-
Matice
- Posts: 14
- Joined: 14 Nov 2006 02:48
#2
Post
by Matice » 11 Dec 2007 19:53
hello
you have misscomprehended how this works.
netsh first is a command tool to configure and administer network protocol configurations.
netsh nor the windows firewall control network access by prohibiting applications. it works by blocking network access. you need to know your network protocol and ports to use with netsh in order to be able to block or grant connections.
for example, when you configure netsh firewall to block lets say outging port TCP 80. this would basically block all applications that attempt to communicate to tcp port 80.
Matice