Configuring ports for operation of the Worker server

Perform the necessary steps for configuring ports if a firewall is enabled on the server.

To configure ports for operation of the Worker server:

  1. Open access to ports 3128 and 9046. To do so, run the following commands depending on the utilized operating system:
    • CentOS or Red Hat Enterprise Linux:

      firewall-cmd --add-port=3128/tcp --permanent

      firewall-cmd --add-port=9046/tcp --permanent

      firewall-cmd --add-port=705/tcp --permanent

    • Ubuntu:

      ufw allow 3128

      ufw allow 9046

      ufw allow 705

    • Debian:

      apt-get install iptables-persistent

      iptables -A INPUT -p tcp --dport 3128 -j ACCEPT

      iptables -A INPUT -p tcp --dport 9046 -j ACCEPT

      iptables -A INPUT -p tcp --dport 705 -j ACCEPT

    • If you use SUSE Linux Enterprise Server, in the /etc/sysconfig/SuSEfirewall2 file, specify the FW_SERVICES_EXT_TCP="3128 9046 705" parameter.
  2. Apply the changes. To do so, run one of the following commands depending on the utilized operating system:
    • CentOS or Red Hat Enterprise Linux:

      firewall-cmd --reload

    • SUSE Linux Enterprise Server:

      rcSuSEfirewall2 restart

    • Debian:

      netfilter-persistent save

    If you are using Ubuntu OS, the changes are applied automatically.

Ports are configured for operation of the Worker server.

Page top