# list_evoshield_profiles
The EvoShield list_evoshield_profiles GET endpoint returns a list of all EvoShield profiles/rules that are available, including the parameters needed to use the add_rule endpoint.
Parameters
account
: The account key - which can be found in the Settings area of the Evolution Host client area: https://evolution-host.com/controlPanelResponse
JSON array of objects. This information can be used when utilizing the add_rule endpoint.
application
: The name of the application or game that the rule is for.app_code
: A unique code for the application or game.min_evoshield_level
: The minimum EvoShield level required to use this rule.default_port
: The default port number used by the application or game.default_extra_ports
: An object containing additional port information for the application or game. This can include multiple ports with different protocols (e.g. TCP or UDP).default_protocol
: The default protocol used on the main port by the application or game (e.g. TCP or UDP).Example Call (PHP)
$url = "https://evolution-host.com/api.php";
$action = "list_evoshield_profiles";
$callData = http_build_query([
'account' => 'YOUR_ACCOUNT_KEY', //Obtain key from the Evolution Host client panel
'action' => $action,
]);
$ch = curl_init($url . '?' . $callData);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPGET, true);
$result = curl_exec($ch);
if($result != false)
{
$result = json_decode($result);
if(json_last_error() !== JSON_ERROR_NONE)
{
echo 'JSON Error: ' . json_last_error_msg();
}
echo '<pre>' . json_encode($result, JSON_PRETTY_PRINT) . '</pre>';
}
curl_close($ch);
Example Response
[
{
"application": "SSL\/TLS",
"app_code": "ssl",
"min_evoshield_level": 1,
"default_port": 587,
"default_extra_ports": null,
"default_protocol": "TCP"
},
{
"application": "RDP",
"app_code": "rdp",
"min_evoshield_level": 1,
"default_port": 3389,
"default_extra_ports": null,
"default_protocol": "TCP"
},
{
"application": "UDP",
"app_code": "udp",
"min_evoshield_level": 1,
"default_port": 0,
"default_extra_ports": null,
"default_protocol": "TCP"
},
{
"application": "ICMP",
"app_code": "icmp",
"min_evoshield_level": 1,
"default_port": 0,
"default_extra_ports": null,
"default_protocol": null
},
{
"application": "SSH",
"app_code": "ssh",
"min_evoshield_level": 1,
"default_port": 22,
"default_extra_ports": null,
"default_protocol": "TCP"
},
{
"application": "TCP",
"app_code": "tcp",
"min_evoshield_level": 1,
"default_port": 0,
"default_extra_ports": null,
"default_protocol": "TCP"
},
{
"application": "Block",
"app_code": "block",
"min_evoshield_level": 1,
"default_port": 3306,
"default_extra_ports": null,
"default_protocol": "UDP"
},
{
"application": "HTTP",
"app_code": "http",
"min_evoshield_level": 1,
"default_port": 80,
"default_extra_ports": null,
"default_protocol": "TCP"
},
{
"application": "HTTPs",
"app_code": "https",
"min_evoshield_level": 1,
"default_port": 443,
"default_extra_ports": null,
"default_protocol": "TCP"
},
{
"application": "Minecraft Bedrock Edition",
"app_code": "minecraft_bedrock",
"min_evoshield_level": 2,
"default_port": 19132,
"default_extra_ports": null,
"default_protocol": "UDP"
},
{
"application": "Mumble",
"app_code": "mumble",
"min_evoshield_level": 2,
"default_port": 64738,
"default_extra_ports": {
"MumbleTCP": {
"port": 64738,
"protocol": "tcp"
}
},
"default_protocol": "UDP"
},
{
"application": "Minecraft Java Edition",
"app_code": "minecraft_java",
"min_evoshield_level": 2,
"default_port": 25565,
"default_extra_ports": null,
"default_protocol": "TCP"
},
{
"application": "Left 4 Dead 2",
"app_code": "l4d2",
"min_evoshield_level": 2,
"default_port": 27015,
"default_extra_ports": {
"RCON": {
"port": 27015,
"protocol": "tcp"
},
"SourceTV": {
"port": 27020,
"protocol": "udp"
},
"Client": {
"port": 27005,
"protocol": "tcp"
}
},
"default_protocol": "UDP"
},
{
"application": "Team Fortress 2",
"app_code": "tf2",
"min_evoshield_level": 2,
"default_port": 27015,
"default_extra_ports": {
"RCON": {
"port": 27015,
"protocol": "tcp"
},
"SourceTV": {
"port": 27020,
"protocol": "udp"
},
"Client": {
"port": 27005,
"protocol": "tcp"
}
},
"default_protocol": "UDP"
},
{
"application": "Multi Theft Auto",
"app_code": "mta",
"min_evoshield_level": 2,
"default_port": 22003,
"default_extra_ports": {
"Download": {
"port": 22005,
"protocol": "tcp"
}
},
"default_protocol": "UDP"
},
{
"application": "OpenVPN",
"app_code": "openvpn",
"min_evoshield_level": 2,
"default_port": 1194,
"default_extra_ports": null,
"default_protocol": "UDP"
},
{
"application": "Call of Duty",
"app_code": "cod",
"min_evoshield_level": 2,
"default_port": 27017,
"default_extra_ports": null,
"default_protocol": "UDP"
},
{
"application": "TeamSpeak",
"app_code": "teamspeak",
"min_evoshield_level": 2,
"default_port": 9987,
"default_extra_ports": {
"FileTransfer": {
"port": 30033,
"protocol": "tcp"
},
"Query": {
"port": 10011,
"protocol": "tcp"
}
},
"default_protocol": "UDP"
},
{
"application": "Counter-Strike 2",
"app_code": "cs2",
"min_evoshield_level": 2,
"default_port": 27015,
"default_extra_ports": null,
"default_protocol": "UDP"
},
{
"application": "WireGuard",
"app_code": "wireguard",
"min_evoshield_level": 2,
"default_port": 51820,
"default_extra_ports": null,
"default_protocol": "UDP"
},
{
"application": "Unturned",
"app_code": "unturned",
"min_evoshield_level": 2,
"default_port": 27015,
"default_extra_ports": null,
"default_protocol": "UDP"
},
{
"application": "SA-MP",
"app_code": "samp",
"min_evoshield_level": 2,
"default_port": 7777,
"default_extra_ports": null,
"default_protocol": "UDP"
},
{
"application": "open.mp",
"app_code": "omp",
"min_evoshield_level": 2,
"default_port": 7777,
"default_extra_ports": null,
"default_protocol": "UDP"
},
{
"application": "Counter-Strike 1.6",
"app_code": "cs16",
"min_evoshield_level": 2,
"default_port": 27015,
"default_extra_ports": null,
"default_protocol": "UDP"
},
{
"application": "Half-Life 2: Deathmatch",
"app_code": "hl2dm",
"min_evoshield_level": 2,
"default_port": 27015,
"default_extra_ports": {
"RCON": {
"port": 27015,
"protocol": "tcp"
},
"SourceTV": {
"port": 27020,
"protocol": "udp"
},
"Client": {
"port": 27005,
"protocol": "tcp"
}
},
"default_protocol": "UDP"
},
{
"application": "Garry's Mod",
"app_code": "gmod",
"min_evoshield_level": 2,
"default_port": 27015,
"default_extra_ports": {
"RCON": {
"port": 27015,
"protocol": "tcp"
},
"SourceTV": {
"port": 27020,
"protocol": "udp"
},
"Client": {
"port": 27005,
"protocol": "tcp"
}
},
"default_protocol": "UDP"
},
{
"application": "Counter Strike: Source",
"app_code": "css",
"min_evoshield_level": 2,
"default_port": 27015,
"default_extra_ports": {
"RCON": {
"port": 27015,
"protocol": "tcp"
},
"SourceTV": {
"port": 27020,
"protocol": "udp"
},
"Client": {
"port": 27005,
"protocol": "tcp"
}
},
"default_protocol": "UDP"
},
{
"application": "Project Zomboid",
"app_code": "project_zomboid",
"min_evoshield_level": 3,
"default_port": 16261,
"default_extra_ports": {
"DirectConnection": {
"port": 16262,
"protocol": "udp"
}
},
"default_protocol": "UDP"
},
{
"application": "DayZ",
"app_code": "dayz",
"min_evoshield_level": 3,
"default_port": 2302,
"default_extra_ports": {
"Query": {
"port": 27016,
"protocol": "udp"
}
},
"default_protocol": "UDP"
},
{
"application": "Palworld",
"app_code": "palworld",
"min_evoshield_level": 3,
"default_port": 8211,
"default_extra_ports": {
"Query": {
"port": 27015,
"protocol": "udp"
}
},
"default_protocol": "UDP"
},
{
"application": "Terraria",
"app_code": "terraria",
"min_evoshield_level": 3,
"default_port": 7777,
"default_extra_ports": null,
"default_protocol": "TCP"
},
{
"application": "Mordhau",
"app_code": "mordhau",
"min_evoshield_level": 3,
"default_port": 7777,
"default_extra_ports": {
"RCON": {
"port": 7778,
"protocol": "udp"
},
"Beacon": {
"port": 15000,
"protocol": "tcp"
},
"Query": {
"port": 27015,
"protocol": "udp"
}
},
"default_protocol": "UDP"
},
{
"application": "Conan Exiles",
"app_code": "conan_exiles",
"min_evoshield_level": 3,
"default_port": 7777,
"default_extra_ports": {
"Query": {
"port": 27015,
"protocol": "udp"
},
"Pinger": {
"port": 7778,
"protocol": "udp"
},
"RCON": {
"port": 25575,
"protocol": "tcp"
},
"Download": {
"port": 7777,
"protocol": "tcp"
}
},
"default_protocol": "UDP"
},
{
"application": "Rust",
"app_code": "rust",
"min_evoshield_level": 4,
"default_port": 28015,
"default_extra_ports": {
"Query": {
"port": 28016,
"protocol": "udp"
},
"RCON": {
"port": 28016,
"protocol": "tcp"
},
"RustPlus": {
"port": 28082,
"protocol": "tcp"
}
},
"default_protocol": "UDP"
},
{
"application": "ARK: Survival Evolved",
"app_code": "ark_evolved",
"min_evoshield_level": 4,
"default_port": 7777,
"default_extra_ports": {
"Query": {
"port": 27015,
"protocol": "udp"
},
"RCON": {
"port": 27020,
"protocol": "tcp"
}
},
"default_protocol": "UDP"
},
{
"application": "alt:V",
"app_code": "altv",
"min_evoshield_level": 4,
"default_port": 7788,
"default_extra_ports": {
"Download": {
"port": 7788,
"protocol": "tcp"
}
},
"default_protocol": "UDP"
},
{
"application": "RageMP",
"app_code": "ragemp",
"min_evoshield_level": 4,
"default_port": 22005,
"default_extra_ports": null,
"default_protocol": "UDP"
},
{
"application": "RedM",
"app_code": "redm",
"min_evoshield_level": 5,
"default_port": 30120,
"default_extra_ports": {
"HTTP": {
"port": 30120,
"protocol": "tcp"
},
"txAdmin": {
"port": 40120,
"protocol": "udp"
}
},
"default_protocol": "UDP"
},
{
"application": "FiveM",
"app_code": "fivem",
"min_evoshield_level": 5,
"default_port": 30120,
"default_extra_ports": {
"HTTP": {
"port": 30120,
"protocol": "tcp"
},
"txAdmin": {
"port": 40120,
"protocol": "udp"
}
},
"default_protocol": "UDP"
}
]