04-10-2005, 04:47 PM
|
#1 |
| Senior Member
Join Date: Jan 2004
Posts: 237
| adding winxp firewall entries remotely
Thought this might be useful to some. I setup a FTP on my parents computer and cleverly enough my mom enabled their firewall and didn't know how to allow ports so that io could function properly. Not having direct access to their computer, and her needing a file from me which was too large for email, i had to find out how the xp firewall functions.
This can only be said for WinXP SP2, and I think a sys reboot is necessary for the new settings to take place, but this is how you can add a remote entry (assuming you have site exec on your ftp):
site exec reg ADD HKLM\System\CurrentControlSet\Services\SharedAcces s\Parameters\FirewallPolicy\StandardProfile\Global lyOpenPorts\List /t REG_SZ /v PORT:TYPE /d PORT:TYPE:*:Enabled:NAME
where PORT is the port you want to open TYPE is either UDP or TCP NAME is a description of the entry
this is for single ports only (i just made it into a batch to enable remote desktop so i could get in and change the rest myself).
it's a simple explanation, the * donates where you can change ip masks that are allowed. it works by ip/subnet (ie: 21:TCP:192.168.0.100/255.255.255.0:Enabled:FTP)
hope someone finds this useful
|
| |