bom eu nao uso proxy uso so o mk mesmo
Versão Imprimível
bom eu nao uso proxy uso so o mk mesmo
hello word ????? Alguem aew dando um up no topico....
Bom dia amigo, fiz outro tipo de PCC ficou SHOW... agora estou usando junto 3links 2adsl + 1dedicado... ficou show se precisar mando como fiz
Bom amigos aqui funciona que é uma beleza, segue nat e firewall... se precisar de mais alguma coisa só avisar.
OBS: Mudem os números de route para o número certo de suas redes.
/ip firewall nat
add action=masquerade chain=srcnat comment="MASCARAMENTO PCC" disabled=no out-interface=Discador1
add action=masquerade chain=srcnat disabled=no out-interface=Discador2
add action=masquerade chain=srcnat disabled=no out-interface="3 link 3MB"
/ip firewall mangle
add action=accept chain=prerouting comment="Sem Balance" disabled=no dst-address-list=sem_balance in-interface=EthClientes
add action=mark-connection chain=input connection-state=new disabled=no in-interface=Discador1 new-connection-mark=conn_na passthrough=yes
add action=mark-connection chain=input connection-state=new disabled=no in-interface=Discador2 new-connection-mark=conn_nb passthrough=yes
add action=mark-connection chain=input connection-state=new disabled=no in-interface="3 link 3MB" new-connection-mark=conn_nc passthrough=yes
add action=mark-connection chain=prerouting disabled=no dst-address-type=!local in-interface=EthClientes new-connection-mark=conn_ma0 passthrough=yes per-connection-classifier=\
both-addresses:6/0
add action=mark-connection chain=prerouting disabled=no dst-address-type=!local in-interface=EthClientes new-connection-mark=conn_ma0 passthrough=yes per-connection-classifier=\
both-addresses:6/1
add action=mark-connection chain=prerouting disabled=no dst-address-type=!local in-interface=EthClientes new-connection-mark=conn_mb1 passthrough=yes per-connection-classifier=\
both-addresses:6/2
add action=mark-connection chain=prerouting disabled=no dst-address-type=!local in-interface=EthClientes new-connection-mark=conn_mc3 passthrough=yes per-connection-classifier=\
both-addresses:6/3
add action=mark-connection chain=prerouting disabled=no dst-address-type=!local in-interface=EthClientes new-connection-mark=conn_mc3 passthrough=yes per-connection-classifier=\
both-addresses:6/4
add action=mark-connection chain=prerouting disabled=no dst-address-type=!local in-interface=EthClientes new-connection-mark=conn_mc3 passthrough=yes per-connection-classifier=\
both-addresses:6/5
add action=mark-routing chain=prerouting connection-mark=conn_ma0 disabled=no in-interface=EthClientes new-routing-mark=to_nra passthrough=no
add action=mark-routing chain=prerouting connection-mark=conn_mb1 disabled=no in-interface=EthClientes new-routing-mark=to_nrb passthrough=no
add action=mark-routing chain=prerouting connection-mark=conn_mc3 disabled=no in-interface=EthClientes new-routing-mark=to_nrc passthrough=no
/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=Discador1 routing-mark=to_nra scope=30 target-scope=10
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=Discador2 routing-mark=to_nrb scope=30 target-scope=10
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=10.0.0.1 routing-mark=to_nrc scope=30 target-scope=10
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=Discador1 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=10.0.0.1 scope=30 target-scope=10
add disabled=no distance=2 dst-address=0.0.0.0/0 gateway=Discador2 scope=30 target-scope=10
Aqui o peso é de 3MB+2MB+1MB
Segue o nome das interface abaixo, está numerado da seguinte forma: 1 = wan 1 e assim em diante.
vlw.
Anexo 24210