Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

424
Vistas
How to restrict a server so it only allows SSH, a connection to an external RabbitMQ server, and a connection to an external MongoDB server?

I have a Ubuntu server which needs to only do the following:

  1. Allow SSH access from me. I'm thinking of using a combination of private key + password for this. I would mainly be pulling code from Github and updating software on the server. The solution for this seems to be AuthenticationMethods.

  2. Allow connections to an external RabbitMQ server. (There would be a local node app connecting to the RabbitMQ server).

  3. Allow connections to an external MongoDB database. (There would be a local node app connecting to the MongoDB database).

  4. All other connections should be blocked.

How can I accomplish this?

Thank you.

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Put a firewall, allow only:

rabbitmq-ip:rabbitmq-port
mongodb-ip:mongodb-port
all-ips:ssh-port

And use a private key for SSH. This way, you can use that key for SSH connections and only people who have that key can do SSH to the server.

You also have to use SSH for git pulls as this configuration does not allow HTTPS connections to the server.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda