Commit 8d06004c authored by tbrehm's avatar tbrehm
Browse files

Open mysql port in firewall by default.

parent 948a842b
......@@ -437,7 +437,7 @@ class installer_dist extends installer_base {
$tcp_public_services = trim(str_replace(',',' ',$row["tcp_port"]));
$udp_public_services = trim(str_replace(',',' ',$row["udp_port"]));
} else {
$tcp_public_services = '21 22 25 53 80 110 443 8080 10000';
$tcp_public_services = '21 22 25 53 80 110 443 3306 8080 10000';
$udp_public_services = '53';
}
$content = str_replace("{TCP_PUBLIC_SERVICES}", $tcp_public_services, $content);
......
......@@ -455,7 +455,7 @@ class installer_dist extends installer_base {
$tcp_public_services = trim(str_replace(',',' ',$row["tcp_port"]));
$udp_public_services = trim(str_replace(',',' ',$row["udp_port"]));
} else {
$tcp_public_services = '21 22 25 53 80 110 443 8080 10000';
$tcp_public_services = '21 22 25 53 80 110 443 3306 8080 10000';
$udp_public_services = '53';
}
$content = str_replace("{TCP_PUBLIC_SERVICES}", $tcp_public_services, $content);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment