Results 1 to 2 of 2

Thread: Open port 2222 in firewall in the install processing

  1. #1
    Join Date
    Nov 2014
    Posts
    5

    Lightbulb Open port 2222 in firewall in the install processing

    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 by NabiKAZ; 08-10-2018 at 04:32 AM.

  2. #2
    Join Date
    Jul 2008
    Location
    Maastricht
    Posts
    3,506
    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.
    Greetings, Richard.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •