Mudanças entre as edições de "BrbOS/Manual/Acesso Externo"

De BrByte Wiki
< BrbOS‎ | Manual
Linha 23: Linha 23:
  
  
'''Regras'''
+
===Regras===
 +
 
 
     /ip firewall nat
 
     /ip firewall nat
 
     add action=dst-nat chain=dstnat comment="SPEEDR - EXTERNO WEB" dst-port=8080 in-interface=\
 
     add action=dst-nat chain=dstnat comment="SPEEDR - EXTERNO WEB" dst-port=8080 in-interface=\
Linha 51: Linha 52:
  
  
'''Regras'''
+
===Regras===
/ip firewall nat
+
    /ip firewall nat
add action=dst-nat chain=dstnat comment="SPEEDR - EXTERNO SSH" dst-port=2229 in-interface=\
+
      add action=dst-nat chain=dstnat comment="SPEEDR - EXTERNO SSH" dst-port=2229 in-interface=\
    ether1 protocol=tcp to-addresses=10.10.150.2 to-ports=2229
+
      ether1 protocol=tcp to-addresses=10.10.150.2 to-ports=2229
  
 
[[Category:BrbOS|Manual]]
 
[[Category:BrbOS|Manual]]
 
__NOEDITSECTION__
 
__NOEDITSECTION__

Edição das 02h22min de 3 de maio de 2017

Acesso Externo WEB

IP > Firewall > Nat

Para adicionar clique no botão: (MikrotikBotaoAdd.png)

  • Aba General >
    • Chain: dstnat
    • Protocol: tcp
    • Dst. Port: 8080
    • In. Interface: ether1 (Interface de Entrada de LINK)
MikrotikIpFirewallNatAccExt1.png


  • Aba Action>
    • Action: dst-nat
    • To Address: 10.10.150.2 (IP do Speedr, Controllr, Voipr, etc)
    • To Ports: 8080
MikrotikIpFirewallNatAccExt2.PNG


Regras

    /ip firewall nat
    add action=dst-nat chain=dstnat comment="SPEEDR - 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: (MikrotikBotaoAdd.png)

  • Aba General >
    • Chain: dstnat
    • Protocol: tcp
    • Dst. Port: 2229
    • In. Interface: ether1 (Interface de Entrada de LINK)
MikrotikIpFirewallNatAccExt3.png


  • Aba Action>
    • Action: dst-nat
    • To Address: 10.10.150.2 (IP do Speedr, Controllr, Voipr, etc)
    • To Ports: 2229
MikrotikIpFirewallNatAccExt4.png


Regras

   /ip firewall nat
     add action=dst-nat chain=dstnat comment="SPEEDR - EXTERNO SSH" dst-port=2229 in-interface=\
     ether1 protocol=tcp to-addresses=10.10.150.2 to-ports=2229