(Criou página com ' =Acesso Externo WEB= ==IP > Firewall > Nat== '''Para adicionar clique no botão:''' (link=) *'''Aba General >''' **'''Chain: '''dstnat **'...') |
|||
(11 revisões intermediárias por 2 usuários não estão sendo mostradas) | |||
Linha 17: | Linha 17: | ||
*'''Aba Action>''' | *'''Aba Action>''' | ||
**'''Action: '''dst-nat | **'''Action: '''dst-nat | ||
− | **'''To Address: '''10.10.150.2 (IP do Speedr) | + | **'''To Address: '''10.10.150.2 (IP do [[Speedr | Speedr]], [[Controllr | Controllr]], [[Voipr | Voipr]], etc) |
**'''To Ports: '''8080 | **'''To Ports: '''8080 | ||
Linha 23: | Linha 23: | ||
− | + | ===Regras=== | |
− | + | ||
− | + | /ip firewall nat | |
− | + | add action=dst-nat chain=dstnat comment="ACESSO EXTERNO WEB" dst-port=8080 in-interface=\ | |
+ | ether1 protocol=tcp to-addresses=10.10.150.2 to-ports=8080 | ||
=Acesso Externo SSH= | =Acesso Externo SSH= | ||
Linha 45: | Linha 46: | ||
*'''Aba Action>''' | *'''Aba Action>''' | ||
**'''Action: '''dst-nat | **'''Action: '''dst-nat | ||
− | **'''To Address: '''10.10.150.2 (IP do Speedr) | + | **'''To Address: '''10.10.150.2 (IP do [[Speedr | Speedr]], [[Controllr | Controllr]], [[Voipr | Voipr]], etc) |
**'''To Ports: '''2229 | **'''To Ports: '''2229 | ||
Linha 51: | Linha 52: | ||
− | + | ==Exemplo== | |
− | + | ||
− | + | <div class="img-responsive align-center">[[Arquivo:brb_manual_acesso_externo_exemplo_nat.png|link=]]</div> | |
− | + | ||
+ | Atenção recomendamos que utilize "In. Interface" (Interface de Entrada) conforme os passos acima. | ||
+ | |||
+ | ===Regras=== | ||
+ | /ip firewall nat | ||
+ | add action=dst-nat chain=dstnat comment="ACESSO EXTERNO SSH" dst-port=2229 in-interface=\ | ||
+ | ether1 protocol=tcp to-addresses=10.10.150.2 to-ports=2229 | ||
+ | |||
+ | |||
+ | =Vídeo= | ||
+ | |||
+ | <div class="video-container"> | ||
+ | {{#ev:youtube|https://youtu.be/WXo4yTnGWk4}} | ||
+ | </div> | ||
+ | [[Category:Manual]] | ||
[[Category:BrbOS|Manual]] | [[Category:BrbOS|Manual]] | ||
+ | |||
__NOEDITSECTION__ | __NOEDITSECTION__ |
Edição atual tal como às 16h47min de 28 de fevereiro de 2023
Índice
Acesso Externo WEB
IP > Firewall > Nat
Para adicionar clique no botão: ()
- Aba General >
- Chain: dstnat
- Protocol: tcp
- Dst. Port: 8080
- In. Interface: ether1 (Interface de Entrada de LINK)

- Aba Action>
Regras
/ip firewall nat add action=dst-nat chain=dstnat comment="ACESSO EXTERNO WEB" dst-port=8080 in-interface=\ ether1 protocol=tcp to-addresses=10.10.150.2 to-ports=8080
Acesso Externo SSH
IP > Firewall > Nat
Para adicionar clique no botão: ()
- Aba General >
- Chain: dstnat
- Protocol: tcp
- Dst. Port: 2229
- In. Interface: ether1 (Interface de Entrada de LINK)

- Aba Action>

Exemplo

Atenção recomendamos que utilize "In. Interface" (Interface de Entrada) conforme os passos acima.
Regras
/ip firewall nat add action=dst-nat chain=dstnat comment="ACESSO EXTERNO SSH" dst-port=2229 in-interface=\ ether1 protocol=tcp to-addresses=10.10.150.2 to-ports=2229
Vídeo