mnSetRemoteAdminAddresses

This command is used to set the remote addresses from which remote administration is allowed.

You can use mnGetRemoteAdminAddresses to determine the status of this option.

For more information on profiles see “Firewall Profiles”.

Parameters

unsigned int ProfileID: This is the ID of the profile that the command should use.

char * Addresses: This is the new remote addresses from which remote administration will be allowed:

The string consists of one or more comma-delimited tokens specifying the remote addresses from which the application can listen for traffic. The default value is "*".

Valid tokens:

- "*": any remote address; if present, it must be the only token.

- "LocalSubnet": not case-sensitive; specifying more than once has no effect.

- subnet: may be specified using either subnet mask or network prefix notation. If neither a subnet mask nor a network prefix is specified, the subnet mask defaults to 255.255.255.255. Examples - of valid subnets: 10.0.0.2/255.0.0.0 10.0.0.2/8 10.0.0.2

- Windows Vista: A valid IPv6 address.

- Windows Vista: An IPv4 address range in the format "start address - end address."

- Windows Vista: An IPv6 address range in the format "start address - end address."

Returns (Integer)

0 if no error occurred.

-1 if an error occurred.

Present in

DBP

C++

.Net




This page is in the following sections:
(2) Remote Administration
(1) Windows Firewall
(0) DarkNet Help