---
title: Allow traffic HTTP or HTTPS
slug: homologacao-atmosphere/allow-traffic-http-or-https
description: Learn about the parameters and examples for enabling HTTP or HTTPS traffic in this comprehensive document. Explore the Shell module's parameters and discover the values it returns, including output, errors, and warnings.
createdAt: 2022-07-26T13:46:42.000Z
---

## Resumo

- Permitir tráfego HTTP ou HTTPS

## Parâmetros

| **Parâmetro** | **Tipo** | **Escolhas \| Valor Padrão** | **Comentários** |
| ------------- | -------- | ---------------------------- | --------------- |
| table         | string   |                              | Nome da tabela. |
| port          | string   |                              | porta           |

Utiliza parâmetros do módulo [Shell](https://docs.simonops.com/homologacao-atmosphere/shell).

## Exemplos

```yaml
- shell: 
    arguments: sudo iptables -A {{ input.table }} eth0 -p tcp --dport {{ input.port }} -m state --state NEW,ESTABLISHED -j ACCEPT
  register: result
```

## Valores retornados

| **Chave**        | **Tipo** | **Retornado quando** | **Descrição**              |
| ---------------- | -------- | -------------------- | -------------------------- |
| output           | string   | Sempre               | Saída da execução          |
| had\_errors      | boolean  | Sempre               | Se teve erros              |
| output\_errors   | string   | Sempre               | Erros de saída da execução |
| output\_warnings | string   | Sempre               | Avisos de saída            |

