Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-5717

Opened port in security groups not working

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 2021
    • Component/s: None
    • Labels:
      None

      Description

      I've opened the 9092 TCP port in my VM (130.206.126.234) and it is not accessible from the outside.

      I've run a netcat listening in that port:

      $ nc -l 9092

      Then I've run a telnet from a remote machine (e.g. my laptop):

      $ telnet 130.206.126.234 9092
      Trying 130.206.126.234...
      telnet: connect to address 130.206.126.234: Operation timed out
      telnet: Unable to connect to remote host

      Please, have a look on the attachment in order to check the port is opened.

      Regards,
      Francisco

        Activity

        Hide
        jicg José Ignacio Carretero Guarde added a comment -

        There is a firewall active inside the VM. That firewall is the one which is preventing your port to be reachable, not Openstack security groups.

        We'll need to investigate if there is a problem with the base image or if this just happened when you installed any new packages.

        regards,
        José Ignacio.

        Show
        jicg José Ignacio Carretero Guarde added a comment - There is a firewall active inside the VM. That firewall is the one which is preventing your port to be reachable, not Openstack security groups. We'll need to investigate if there is a problem with the base image or if this just happened when you installed any new packages. regards, José Ignacio.
        Hide
        jicg José Ignacio Carretero Guarde added a comment -

        By default, the CentOS mainstream has its own firewall activated which is added to the Security groups. As this is the default behavior for CentOS, it will keep working this way.

        If you need to disable the internal firewall in your CentOS, you can do this by running this two commands as root:

        1. iptables -F
        2. iptables-save > /etc/sysconfig/iptables

        Regards,
        José Ignacio.

        Show
        jicg José Ignacio Carretero Guarde added a comment - By default, the CentOS mainstream has its own firewall activated which is added to the Security groups. As this is the default behavior for CentOS, it will keep working this way. If you need to disable the internal firewall in your CentOS, you can do this by running this two commands as root: iptables -F iptables-save > /etc/sysconfig/iptables Regards, José Ignacio.

          People

          • Assignee:
            jicg José Ignacio Carretero Guarde
            Reporter:
            frb Francisco Romero
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: