Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
948a842b
Commit
948a842b
authored
Dec 12, 2008
by
tbrehm
Browse files
Open mysql port in firewall by default.
parent
671a41a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
948a842b
...
...
@@ -714,7 +714,7 @@ class 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
);
...
...
interface/web/admin/form/firewall.tform.php
View file @
948a842b
...
...
@@ -79,7 +79,7 @@ $form["tabs"]['firewall'] = array (
'regex'
=>
'/^[\s0-9\,]{0,255}$/'
,
'errmsg'
=>
'tcp_ports_error_regex'
),
),
'default'
=>
'20,21,22,25,53,80,110,443,8080,10000'
,
'default'
=>
'20,21,22,25,53,80,110,443,
3306,
8080,10000'
,
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
...
...
@@ -91,7 +91,7 @@ $form["tabs"]['firewall'] = array (
'regex'
=>
'/^[\s0-9\,]{0,255}$/'
,
'errmsg'
=>
'tcp_ports_error_regex'
),
),
'default'
=>
'53'
,
'default'
=>
'53
,3306
'
,
'value'
=>
''
,
'width'
=>
'30'
,
'maxlength'
=>
'255'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment