Skip to content

Review list of ports that need to be opened when installing #4247

@aneta-petrova

Description

@aneta-petrova

The following two procedures contain a list of services whose ports must be open for a successful installation:

These lists include some services that actually do not need to be accessible in default scenarios. 

This effort would require two things:

  1. Review these lists and make sure the commands open only the ports that are needed for default scenarios.

A few examples:

  • The current procedures open the ports for DHCP, DNS, and TFTP but these services are not enabled by default so we shouldn't ask all users to open the ports.
  • The current procedures open the ports for puppetmaster but a Katello/Satellite installation doesn't include Puppet by default. However, a Foreman installation does include Puppet by default.
    Installation procedures for specific builds should only include opening ports for the services that are included for that build by default.
  1. Ensure that if we drop a service from the installation procedures, users will be told to open the ports later when enabling the respective feature.

An example:

An existing example of a procedure that starts by allowing access to the required service is https://docs.theforeman.org/3.16/Installing_Proxy/index-katello.html#configuring-pull-based-transport-for-remote-execution_smart-proxy:

. Enable the pull-based transport on your {ProductName}:
+
[options="nowrap" subs="quotes,attributes"]
----
# {foreman-installer} --foreman-proxy-plugin-remote-execution-script-mode pull-mqtt
----
. Configure the firewall to allow the MQTT service on port 1883:
+
[options="nowrap", subs="+quotes,verbatim,attributes"]
----
# firewall-cmd --add-service=mqtt
----
include::snip_make-firewall-settings-persistent.adoc[]

(This issue is based on the conversation in #4210 (comment) )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions