3,217
edits
Changes
m
no edit summary
To open port e.g.:22 Windows XP firewall, you have to execute the following:
netsh firewall add portopening TCP 20 22 SSH enable subnet
It is enough to execute it only once, as it will survive the reboot, so you may use execute="once".
priority="2">
<install cmd='netsh firewall add portopening TCP 20 22 SSH enable subnet' />
</package>
</source>
This is useful if you want to run a SSH server (i.e. [[freeSSHd]]), but still want to have a firewall enabled.
[[Category: Silent Installers]]
[[Category: Changing Windows settings]]