Open port 2222 in firewall in the install processing

NabiKAZ

Verified User
Joined
Nov 4, 2014
Messages
5
Directadmin Version 1.53.2
OS: CentOS 7.x

After install Directadmin on the CentOS 7, As you said in here:
https://help.directadmin.com/item.php?id=75
Must open 2222 port in firewall with this command:
Code:
firewall-cmd --permanent --zone=public --add-port=2222/tcp
And so this pre-install commands:
https://help.directadmin.com/item.php?id=354

I thinks better and simple include this command in install processing. To avoid confusing users without opening the web input page, immediately after installation.
 
Last edited:
I don't agree because several people will use several kind of firewalls and everybody should be able to choose for themselves if they want to open it.
To prevent issues several people don't even use a firewall during installation but install it afterwards. Like CSF/LFD which can also open ports used by DA by default (yes also 2222) and also whitelists the installers ip address.

The command will also be different in different distro's. Directadmin is also used on Debian en FreeBSD.
So I wouldn't put that in pre-install commands.
 
Back
Top