Mudanças entre as edições de "Teste"

De BrByte Wiki
 
(84 revisões intermediárias por 2 usuários não estão sendo mostradas)
Linha 1: Linha 1:
=PÁGINA EM DESENVOLVIMENTO=
 
  
=Configuração no Mikrotik - Cache Full Simples=
+
=Acesso Externo WEB=
  
 +
==IP > Firewall > Nat==
  
IP > Firewall > Mangle
+
'''Para adicionar clique no botão:''' ([[Arquivo:MikrotikBotaoAdd.png|link=]])
  
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)
  
 +
<div class="img-responsive align-center">[[Arquivo:MikrotikIpFirewallNatAccExt1.png|link=]]</div>
  
Aba General >
 
Chain: postrouting
 
Protocol: 6 (tcp)
 
  
Aba Advanced >
+
*'''Aba Action>'''
DSCP (TOS): 10
+
**'''Action: '''dst-nat
 +
**'''To Address: '''10.10.150.2 (IP do Speedr)
 +
**'''To Ports: '''8080
  
Aba Action >
+
<div class="img-responsive align-center">[[Arquivo:MikrotikIpFirewallNatAccExt2.PNG|link=]]</div>
Action: mark connection
 
New Connection Mark: HitSpeedr
 
Passthrough: Yes
 
  
  
Aba General >
+
'''Regras'''
Chain: postrouting
+
/ip firewall nat
Protocol: 6 (tcp)
+
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
  
Aba Advanced >
+
=Acesso Externo SSH=
DSCP (TOS): 12
 
  
Aba Action >
+
==IP > Firewall > Nat==
Action: mark connection
 
New Connection Mark: HitSpeedr
 
Passthrough: Yes
 
  
 +
'''Para adicionar clique no botão:''' ([[Arquivo:MikrotikBotaoAdd.png|link=]])
  
Aba General >
+
*'''Aba General >'''
Chain: postrouting
+
**'''Chain: '''dstnat
Protocol: 6 (tcp)
+
**'''Protocol: '''tcp
 +
**'''Dst. Port: '''2229
 +
**'''In. Interface: '''ether1 (Interface de Entrada de LINK)
  
Aba Advanced >
+
<div class="img-responsive align-center">[[Arquivo:MikrotikIpFirewallNatAccExt3.png|link=]]</div>
DSCP (TOS): 48
 
  
Aba Action >
 
Action: mark connection
 
New Connection Mark: HitSpeedr
 
Passthrough: Yes
 
  
 +
*'''Aba Action>'''
 +
**'''Action: '''dst-nat
 +
**'''To Address: '''10.10.150.2 (IP do Speedr)
 +
**'''To Ports: '''2229
  
Aba General >
+
<div class="img-responsive align-center">[[Arquivo:MikrotikIpFirewallNatAccExt4.png|link=]]</div>
Chain: postrouting
 
Connection Mark: HitSpeedr
 
  
Aba Action >
 
Action: mark packet
 
New Packet Mark: CacheFull
 
Passthrough: No
 
  
 +
'''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
  
Queue > Queue Types
+
__NOEDITSECTION__
 
+
[[Category:Teste]]
Para adicionar clique no botão: (MikrotikBotaoAdd.png)
 
 
 
Type Name: CacheFull
 
Kind: pcq
 
Rate: 5m (velocidade desejada por cliente)
 
 
 
 
 
Queue > Simple Queues
 
 
 
Para adicionar clique no botão: (MikrotikBotaoAdd.png)
 
 
 
Aba General >
 
Name: Cache Full
 
Target: 0.0.0.0/0
 
 
 
Aba Advanced >
 
Packet Marks: CacheFull
 
Queue Type: CacheFull
 
 
 
 
 
=Configuração no Mikrotik - Cache Full Personalizado=
 
 
 
 
 
 
 
PPP > Profiles
 
 
 
 
 
Abra o profile 1Mega
 
 
 
Aba General >
 
Address List: Profile1MB
 
 
 
 
 
Abra o profile 2Mega
 
 
 
Aba General >
 
Address List: Profile2MB
 
 
 
 
 
Abra o profile 3Mega
 
 
 
Aba General >
 
Address List: Profile3MB
 
 
 
 
 
IP > Hotspot > User Profile
 
 
 
Abra o profile 1Mega
 
 
 
Aba General >
 
Address List: Profile1MB
 
 
 
 
 
Abra o profile 2Mega
 
 
 
Aba General >
 
Address List: Profile2MB
 
 
 
 
 
Abra o profile 3Mega
 
 
 
Aba General >
 
Address List: Profile3MB
 
 
 
 
 
IP > Firewall > Mangle
 
 
 
Para adicionar clique no botão: (MikrotikBotaoAdd.png)
 
 
 
 
 
Aba General >
 
Chain: postrouting
 
Protocol: 6 (tcp)
 
 
 
Aba Advanced >
 
DSCP (TOS): 10
 
 
 
Aba Action >
 
Action: mark connection
 
New Connection Mark: HitSpeedr
 
Passthrough: Yes
 
 
 
 
 
Aba General >
 
Chain: postrouting
 
Protocol: 6 (tcp)
 
 
 
Aba Advanced >
 
DSCP (TOS): 12
 
 
 
Aba Action >
 
Action: mark connection
 
New Connection Mark: HitSpeedr
 
Passthrough: Yes
 
 
 
 
 
Aba General >
 
Chain: postrouting
 
Protocol: 6 (tcp)
 
 
 
Aba Advanced >
 
DSCP (TOS): 48
 
 
 
Aba Action >
 
Action: mark connection
 
New Connection Mark: HitSpeedr
 
Passthrough: Yes
 
 
 
 
 
Aba General >
 
Chain: postrouting
 
Connection Mark: HitSpeedr
 
 
 
Aba Advanced >
 
Src. Address List: Profile1MB
 
 
 
Aba Action >
 
Action: mark packet
 
New Packet Mark: CacheFullProfile1MB
 
Passthrough: No
 
 
 
 
 
Aba General >
 
Chain: postrouting
 
Connection Mark: HitSpeedr
 
 
 
Aba Advanced >
 
Src. Address List: Profile2MB
 
 
 
Aba Action >
 
Action: mark packet
 
New Packet Mark: CacheFullProfile2MB
 
Passthrough: No
 
 
 
 
 
Aba General >
 
Chain: postrouting
 
Connection Mark: HitSpeedr
 
 
 
Aba Advanced >
 
Src. Address List: Profile3MB
 
 
 
Aba Action >
 
Action: mark packet
 
New Packet Mark: CacheFullProfile3MB
 
Passthrough: No
 
 
 
 
 
Queue > Queue Types
 
 
 
Para adicionar clique no botão: (MikrotikBotaoAdd.png)
 
 
 
Type Name: CacheFullProfile1MB
 
Kind: pcq
 
Rate: 2m (velocidade desejada por cliente)
 
 
 
 
 
Type Name: CacheFullProfile2MB
 
Kind: pcq
 
Rate: 4m (velocidade desejada por cliente)
 
 
 
 
 
Type Name: CacheFullProfile3MB
 
Kind: pcq
 
Rate: 6m (velocidade desejada por cliente)
 
 
 
 
 
Queue > Simple Queues
 
 
 
Para adicionar clique no botão: (MikrotikBotaoAdd.png)
 
 
 
Aba General >
 
Name: Cache Full
 
Target: 0.0.0.0/0
 
 
 
Aba Advanced >
 
Packet Marks: CacheFullProfile1MB
 
Queue Type: CacheFullProfile1MB
 
 
 
 
 
Aba General >
 
Name: Cache Full
 
Target: 0.0.0.0/0
 
 
 
Aba Advanced >
 
Packet Marks: CacheFullProfile2MB
 
Queue Type: CacheFullProfile2MB
 
 
 
 
 
Aba General >
 
Name: Cache Full
 
Target: 0.0.0.0/0
 
 
 
Aba Advanced >
 
Packet Marks: CacheFullProfile3MB
 
Queue Type: CacheFullProfile3MB
 
 
 
=Configurações no Speedr=
 
 
 
Abra o App QoS L7
 
 
 
Clique em SPEEDTEST
 
 
 
Em DCSP Hit: Marque o TOS 192
 
 
 
Clique em Salvar
 

Edição atual tal como às 11h50min de 28 de fevereiro de 2023

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)
    • 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)
    • 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