Page 1 of 1

vb6 code to open xp firewall port?

Posted: Sat Sep 09, 2006 12:56 am
by PB
What exactly is this VB app claiming to do:

http://www.vbcode.com/Asp/showsn.asp?theID=12488

:?:

Posted: Sat Sep 09, 2006 1:52 am
by Dare
Good question. :?:

Posted: Sat Sep 09, 2006 4:08 am
by PB
The command it launches is:

Code: Select all

Shell ("netsh firewall set portopening TCP " & Text1.Text)
So what I can gather is that Text1 holds the name of an exe and the command
is telling XP to allow that exe to bypass the Windows Firewall? Sound plausible?

Posted: Sat Sep 09, 2006 5:32 am
by Dare
I looked at the link and it offered not much (just about the line you show above) so I googled for the text: netsh firewall set portopening TCP and got a few links which may throw some light on the subject:

http://support.microsoft.com/kb/839980/
http://www.windowsnetworking.com/articl ... ewall.html

Hope they're useful.

Posted: Sat Sep 09, 2006 11:17 am
by Derek
Nice bit of heavy reading.