N-central Help

Add Inbound Port

Adds a port exception to the Windows Firewall configuration.

Privileges

Elevated – Run as administrator

Input Parameters

Name Type Required Description
Port # Number Yes The port number to be added as an exception.
Port Name String Yes The name of the port exception rule.
Protocol Boolean Yes The protocol for the port, either TCP or UDP.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
Port # Number Yes 1234
Port Name String Yes MSP specific Port exception
Protocol Boolean Yes TCP