Enable firewall ports for HPDM 4.6

HP Device Manager (HPDM) 4.6 requires a number of server-side ports to be open for communication with HPDM agents installed on thin clients. Here is a quick script to enable the essential firewall ports required for inbound inbound traffic to the HPDM server. The script enables inbound FTP on port 21 and also disables the ‘StatefulFtp’ feature that can interfere with passive mode FTP connections.

Copy the following into a batch file on the HPDM server or run them one at a time from inside an elevated Administrator command prompt or PowerShell window:

netsh advfirewall firewall add rule name=”FTP (non-SSL)” action=allow protocol=TCP dir=in localport=21

netsh advfirewall set global StatefulFtp disable

netsh advfirewall firewall add rule name=”HP Device Manager UDP IN” action=allow protocol=UDP dir=in localport=40000

netsh advfirewall firewall add rule name=”HP Device Manager UDP OUT” action=allow protocol=UDP dir=out localport=40000

netsh advfirewall firewall add rule name=”HP Device Manager TCP IN” action=allow protocol=TCP dir=in localport=40001-40009,40012

netsh advfirewall firewall add rule name=”HP Device Manager TCP OUT” action=allow protocol=TCP dir=out localport=40001-40009,40012

Posted in Firewalls, HP
Tags: , ,