Diferencia entre revisiones de «Acceso Externo»

De BrByte Latam
Ir a la navegación Ir a la búsqueda
(Página creada con «= Acceso Externo WEB = == IP > Firewall > Nat == '''Para añadir, haz clic en el botón:''' ... * '''Pestaña General >''' ** '''Chain: '''dstnat ** '''Protocol: '''tcp ** '''Dst. Port: '''8080 ** '''In. Interface: '''ether1 (Interfaz de Entrada del LINK) <div class="img-responsive align-center">...</div> * '''Pestaña Action >''' ** '''Action: '''dst-nat ** '''To Address: '''10.10.150.2 (IP de Speedr, Controllr, Voipr, et…»)
 
(Agregada las capturas)
Línea 3: Línea 3:
== IP > Firewall > Nat ==
== IP > Firewall > Nat ==


'''Para añadir, haz clic en el botón:''' ...
<big>'''Para añadir, haz clic en el botón''' [[Archivo:MikrotikBotaoAdd.png|sinmarco]]</big>


* '''Pestaña General >'''
* '''<big>Pestaña General ></big>'''
** '''Chain: '''dstnat
** <big>'''Chain: '''dstnat</big>
** '''Protocol: '''tcp
** <big>'''Protocol: '''tcp</big>
** '''Dst. Port: '''8080
** <big>'''Dst. Port: '''8080</big>
** '''In. Interface: '''ether1 (Interfaz de Entrada del LINK)
** <big>'''In. Interface: '''ether1 (Interfaz de Entrada del LINK)</big>


<div class="img-responsive align-center">...</div>
<div class="img-responsive align-center">[[Archivo:MikrotikIpFirewallNatAccExt1 (1).png|izquierda|sinmarco|483x483px]]</div>


* '''Pestaña Action >'''
*
** '''Action: '''dst-nat
*
** '''To Address: '''10.10.150.2 (IP de [[Speedr | Speedr]], [[Controllr | Controllr]], [[Voipr | Voipr]], etc.)
*
** '''To Ports: '''8080
*
* '''<big>Pestaña Action ></big>'''
** <big>'''Action: '''dst-nat</big>
** <big>'''To Address: '''10.10.150.2 (IP de [[Speedr | BrbOS]], [[ Controllr]], [[Voipr | Captor]], etc.)</big>
** <big>'''To Ports: '''8080</big>


<div class="img-responsive align-center">...</div>
<div class="img-responsive align-center">[[Archivo:IP DEL SERVIDOR (2).png|izquierda|sinmarco|484x484px]]</div>


=== Reglas ===


```bash
 
/ip firewall nat
 
add action=dst-nat chain=dstnat comment="ACCESO EXTERNO WEB" dst-port=8080 in-interface=\
 
    ether1 protocol=tcp to-addresses=10.10.150.2 to-ports=8080
 
 
=== <big>Reglas</big> ===
/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
 
= Acceso Externo SSH =
= Acceso Externo SSH =


== IP > Firewall > Nat ==
== IP > Firewall > Nat ==


'''Para añadir, haz clic en el botón:''' (...)
<big>'''Para añadir, haz clic en el botón''' [[Archivo:MikrotikBotaoAdd.png|sinmarco]]</big>
 
* <big>'''Pestaña General >'''</big>
** <big>'''Chain: '''dstnat</big> 
** <big>'''Protocol: '''tcp</big> 
** <big>'''Dst. Port: '''2229</big> 
** <big>'''In. Interface: '''ether1 (Interfaz de Entrada del LINK)</big>
<div class="img-responsive align-center">[[Archivo:MikrotikIpFirewallNatAccExt3.png|izquierda|sinmarco|485x485px]]</div>
 
 
 
 
 
 
 
 
 
* '''<big>Pestaña Action</big>'''
** <big>'''Action: '''dst-nat</big>
** <big>'''To Address: '''10.10.150.2 (IP de  [[Speedr |BrbOS]], [[ Controllr]], [[Voipr | Captor]], etc.)</big>
** <big>'''To Ports: '''2229</big>
<div class="img-responsive align-center">[[Archivo:IP DEL SERVIDOR (4).png|izquierda|sinmarco|482x482px]]</div>
 
 
 
 
 
 
 
== <big>Ejemplo</big> ==
 
<div class="img-responsive align-center">[[Archivo:Brb manual acesso externo exemplo nat-2.png|izquierda|sinmarco|891x891px]]</div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


'''Pestaña General >''' ** '''Chain: '''dstnat ** '''Protocol: '''tcp ** '''Dst. Port: '''2229 ** '''In. Interface: '''ether1 (Interfaz de Entrada del LINK)
<div class="img-responsive align-center">...</div>
'''Pestaña Action >''' ** '''Action: '''dst-nat ** '''To Address: '''10.10.150.2 (IP de [[Speedr | Speedr]], [[Controllr | Controllr]], [[Voipr | Voipr]], etc.) ** '''To Ports: '''2229
<div class="img-responsive align-center">...</div>
== Ejemplo ==


<div class="img-responsive align-center">...</div>
<big>'''Atención:''' Recomendamos que utilices la opción "In. Interface" (Interfaz de Entrada) según los pasos anteriores.</big>
Atención: Recomendamos que utilices la opción "In. Interface" (Interfaz de Entrada) según los pasos anteriores.


=== Reglas ===
=== <big>Reglas</big> ===
/ip firewall nat
/ip firewall nat
add action=dst-nat chain=dstnat comment="ACCESO EXTERNO SSH" dst-port=2229 in-interface=\
add action=dst-nat chain=dstnat comment="ACCESO 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

Revisión del 19:12 13 sep 2024

Acceso Externo WEB

IP > Firewall > Nat

Para añadir, haz clic en el botón

  • Pestaña General >
    • Chain: dstnat
    • Protocol: tcp
    • Dst. Port: 8080
    • In. Interface: ether1 (Interfaz de Entrada del LINK)
  • Pestaña Action >




Reglas

/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

Acceso Externo SSH

IP > Firewall > Nat

Para añadir, haz clic en el botón

  • Pestaña General >
    • Chain: dstnat
    • Protocol: tcp
    • Dst. Port: 2229
    • In. Interface: ether1 (Interfaz de Entrada del LINK)





  • Pestaña Action




Ejemplo












Atención: Recomendamos que utilices la opción "In. Interface" (Interfaz de Entrada) según los pasos anteriores.

Reglas

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