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
lolo888
ISPConfig 3
Commits
8eb646a8
Commit
8eb646a8
authored
Jun 24, 2011
by
tbrehm
Browse files
Fixed a firewall configuration problem.
parent
1593cd7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/install.php
View file @
8eb646a8
...
...
@@ -229,19 +229,17 @@ if($install_mode == 'standard') {
$inst
->
configure_apps_vhost
();
//* Configure Firewall
//swriteln('Configuring Firewall');
//$inst->configure_firewall();
//** Configure Firewall
if
(
$conf
[
'bastille'
][
'installed'
]
==
true
)
{
if
(
$conf
[
'ufw'
][
'installed'
]
==
true
)
{
//* Configure UFW Firewall
$conf
[
'services'
][
'firewall'
]
=
true
;
swriteln
(
'Configuring UFW Firewall'
);
$inst
->
configure_ufw_firewall
();
}
else
{
//* Configure Bastille Firewall
$conf
[
'services'
][
'firewall'
]
=
true
;
swriteln
(
'Configuring Bastille Firewall'
);
$inst
->
configure_firewall
();
}
elseif
(
$conf
[
'ufw'
][
'installed'
]
==
true
)
{
//* Configure Ubuntu Firewall
$conf
[
'services'
][
'firewall'
]
=
true
;
swriteln
(
'Configuring Ubuntu Firewall'
);
$inst
->
configure_ufw_firewall
();
}
//* Configure Fail2ban
...
...
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