+ Responder ao Tópico



  1. eu fiz tudo denovo umas 10 vezes pelo pcc1.5 mais continua o mesmo erro puxa tudo!!! do link 1 e não puxa quase nada dos outros links mais se eu abrir o µTorrent aqui no meu pc que é ilimitado a banda, ai puxa tudo de todos os links, preciso de ajuda vou postar aqui os códigos gerados pelo programa! quem poder ajuda por favor vou ficar muito agradecido

    # ip address --------------------------
    /ip address add address=10.0.0.1/24 interface=LOCAL1

    # interface pppoe-client ---------------
    /interface pppoe-client add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 dial-on-demand=no disabled=no interface=centec2 max-mru=1480 max-mtu=1480 mrru=disabled name=adsl_centec2 password=5890 profile=default service-name="" use-peer-dns=no user=netinho
    /interface pppoe-client add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 dial-on-demand=no disabled=no interface=centec3 max-mru=1480 max-mtu=1480 mrru=disabled name=adsl_centec3 password=5890 profile=default service-name="" use-peer-dns=no user=netinho
    /interface pppoe-client add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 dial-on-demand=no disabled=no interface=centec4 max-mru=1480 max-mtu=1480 mrru=disabled name=adsl_centec4 password=5890 profile=default service-name="" use-peer-dns=no user=netinho
    /interface pppoe-client add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 dial-on-demand=no disabled=no interface=centec5 max-mru=1480 max-mtu=1480 mrru=disabled name=adsl_centec5 password=5890 profile=default service-name="" use-peer-dns=no user=netinho
    /interface pppoe-client add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 dial-on-demand=no disabled=no interface=velox6 max-mru=1480 max-mtu=1480 mrru=disabled name=adsl_velox6 password=oioioi profile=default service-name="" use-peer-dns=no user=oi@oi
    /interface pppoe-client add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 dial-on-demand=no disabled=no interface=velox7 max-mru=1480 max-mtu=1480 mrru=disabled name=adsl_velox7 password=oioioi profile=default service-name="" use-peer-dns=no user=oi@oi
    /interface pppoe-client add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 dial-on-demand=no disabled=no interface=velox8 max-mru=1480 max-mtu=1480 mrru=disabled name=adsl_velox8 password=oioioi profile=default service-name="" use-peer-dns=no user=oi@oi

    # ip dns --------------------------------
    /ip dns set primary-dns=8.8.8.8
    /ip dns set secondary-dns=8.8.4.4
    /ip dns set allow-remote-requests=yes

    # ip dns statico------------------------
    /ip dns static add address=10.0.0.1 comment="" disabled=no name=10.0.0.1.JNSNET-LOAD ttl=1d

    # ip firewall Filter------------------------
    /ip firewall filter add action=drop chain=forward comment="BLOQUEIO DE DNS REVERSO" content=velox.user.com.br disabled=no
    /ip firewall filter add action=drop chain=forward comment="BLOQUEIO DE DNS REVERSO" content=speed.user.com.br disabled=no

    # ip firewall nat--------------------------
    /ip firewall nat add action=masquerade chain=srcnat disabled=no out-interface=adsl_centec2
    /ip firewall nat add action=masquerade chain=srcnat disabled=no out-interface=adsl_centec3
    /ip firewall nat add action=masquerade chain=srcnat disabled=no out-interface=adsl_centec4
    /ip firewall nat add action=masquerade chain=srcnat disabled=no out-interface=adsl_centec5
    /ip firewall nat add action=masquerade chain=srcnat disabled=no out-interface=adsl_velox6
    /ip firewall nat add action=masquerade chain=srcnat disabled=no out-interface=adsl_velox7
    /ip firewall nat add action=masquerade chain=srcnat disabled=no out-interface=adsl_velox8

    # ip firewall mangle------------------------

    # LoopBack por link-------------------------
    / ip firewall mangle add action=mark-connection chain=prerouting comment="" connection-state=new disabled=no dst-address-list=LINK0 in-interface=LOCAL1 new-connection-mark=Sites0 passthrough=yes
    / ip firewall mangle add action=mark-routing chain=prerouting comment="" connection-mark=Sites0 disabled=no in-interface=LOCAL1 new-routing-mark=Rota0 passthrough=no
    / ip route add gateway=adsl_centec2 routing-mark=Rota0
    / ip firewall mangle add action=mark-connection chain=prerouting comment="" connection-state=new disabled=no dst-address-list=LINK1 in-interface=LOCAL1 new-connection-mark=Sites1 passthrough=yes
    / ip firewall mangle add action=mark-routing chain=prerouting comment="" connection-mark=Sites1 disabled=no in-interface=LOCAL1 new-routing-mark=Rota1 passthrough=no
    / ip route add gateway=adsl_centec3 routing-mark=Rota1
    / ip firewall mangle add action=mark-connection chain=prerouting comment="" connection-state=new disabled=no dst-address-list=LINK2 in-interface=LOCAL1 new-connection-mark=Sites2 passthrough=yes
    / ip firewall mangle add action=mark-routing chain=prerouting comment="" connection-mark=Sites2 disabled=no in-interface=LOCAL1 new-routing-mark=Rota2 passthrough=no
    / ip route add gateway=adsl_centec4 routing-mark=Rota2

    /ip firewall address-list add address=200.155.80.0-200.155.255.255 comment="BRADESCO" disabled=no list=LINK0
    /ip firewall address-list add address=200.220.186.0/24 comment="" disabled=no list=LINK0
    /ip firewall address-list add address=200.220.178.0/24 comment="" disabled=no list=LINK0
    /ip firewall address-list add address=64.38.29.0/24 comment="RapidShare" disabled=no list=LINK1
    /ip firewall address-list add address=208.69.32.0/24 comment="" disabled=no list=LINK1
    /ip firewall address-list add address=208.67.217.0/24 comment="" disabled=no list=LINK1
    /ip firewall address-list add address=201.7.178.0/24 comment="" disabled=no list=LINK1
    /ip firewall address-list add address=201.7.176.0/24 comment="" disabled=no list=LINK1
    /ip firewall address-list add address=201.7.176.0/20 comment="Vídeos - Globo" disabled=no list=LINK2
    /ip firewall address-list add address=208.84.247.0/24 comment="Vídeos - terratv" disabled=no list=LINK2
    /ip firewall address-list add address=200.154.56.0/24 comment="Vídeos - terratv" disabled=no list=LINK2
    # Fim LoopBack por link----------------------

    /ip firewall mangle add action=accept chain=prerouting comment="HTTPS FORA DO LOADBALACED" disabled=no protocol=tcp dst-port=443 in-interface=LOCAL1
    /ip firewall mangle add action=accept chain=prerouting comment="FORA DO LOADBALACED" disabled=no dst-address-list=loopback in-interface=LOCAL1
    /ip firewall mangle add action=change-ttl chain=forward comment="Filtro Tracert / Traceroute" disabled=no new-ttl=set:30 protocol=icmp
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no in-interface=adsl_centec2 new-connection-mark=adsl_centec2_conn passthrough=yes
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no in-interface=adsl_centec3 new-connection-mark=adsl_centec3_conn passthrough=yes
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no in-interface=adsl_centec4 new-connection-mark=adsl_centec4_conn passthrough=yes
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no in-interface=adsl_centec5 new-connection-mark=adsl_centec5_conn passthrough=yes
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no in-interface=adsl_velox6 new-connection-mark=adsl_velox6_conn passthrough=yes
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no in-interface=adsl_velox7 new-connection-mark=adsl_velox7_conn passthrough=yes
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no in-interface=adsl_velox8 new-connection-mark=adsl_velox8_conn passthrough=yes
    /ip firewall mangle add action=mark-routing chain=output connection-mark=adsl_centec2_conn disabled=no new-routing-mark=to_adsl_centec2 passthrough=yes
    /ip firewall mangle add action=mark-routing chain=output connection-mark=adsl_centec3_conn disabled=no new-routing-mark=to_adsl_centec3 passthrough=yes
    /ip firewall mangle add action=mark-routing chain=output connection-mark=adsl_centec4_conn disabled=no new-routing-mark=to_adsl_centec4 passthrough=yes
    /ip firewall mangle add action=mark-routing chain=output connection-mark=adsl_centec5_conn disabled=no new-routing-mark=to_adsl_centec5 passthrough=yes
    /ip firewall mangle add action=mark-routing chain=output connection-mark=adsl_velox6_conn disabled=no new-routing-mark=to_adsl_velox6 passthrough=yes
    /ip firewall mangle add action=mark-routing chain=output connection-mark=adsl_velox7_conn disabled=no new-routing-mark=to_adsl_velox7 passthrough=yes
    /ip firewall mangle add action=mark-routing chain=output connection-mark=adsl_velox8_conn disabled=no new-routing-mark=to_adsl_velox8 passthrough=yes
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no dst-address-type=!local in-interface=LOCAL1 new-connection-mark=adsl_centec2_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:7/0
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no dst-address-type=!local in-interface=LOCAL1 new-connection-mark=adsl_centec3_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:7/1
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no dst-address-type=!local in-interface=LOCAL1 new-connection-mark=adsl_centec4_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:7/2
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no dst-address-type=!local in-interface=LOCAL1 new-connection-mark=adsl_centec5_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:7/3
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no dst-address-type=!local in-interface=LOCAL1 new-connection-mark=adsl_velox6_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:7/4
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no dst-address-type=!local in-interface=LOCAL1 new-connection-mark=adsl_velox7_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:7/5
    /ip firewall mangle add action=mark-connection connection-state=new chain=prerouting disabled=no dst-address-type=!local in-interface=LOCAL1 new-connection-mark=adsl_velox8_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:7/6
    /ip firewall mangle add action=mark-routing chain=prerouting connection-mark=adsl_centec2_conn disabled=no in-interface=LOCAL1 new-routing-mark=to_adsl_centec2 passthrough=yes
    /ip firewall mangle add action=mark-routing chain=prerouting connection-mark=adsl_centec3_conn disabled=no in-interface=LOCAL1 new-routing-mark=to_adsl_centec3 passthrough=yes
    /ip firewall mangle add action=mark-routing chain=prerouting connection-mark=adsl_centec4_conn disabled=no in-interface=LOCAL1 new-routing-mark=to_adsl_centec4 passthrough=yes
    /ip firewall mangle add action=mark-routing chain=prerouting connection-mark=adsl_centec5_conn disabled=no in-interface=LOCAL1 new-routing-mark=to_adsl_centec5 passthrough=yes
    /ip firewall mangle add action=mark-routing chain=prerouting connection-mark=adsl_velox6_conn disabled=no in-interface=LOCAL1 new-routing-mark=to_adsl_velox6 passthrough=yes
    /ip firewall mangle add action=mark-routing chain=prerouting connection-mark=adsl_velox7_conn disabled=no in-interface=LOCAL1 new-routing-mark=to_adsl_velox7 passthrough=yes
    /ip firewall mangle add action=mark-routing chain=prerouting connection-mark=adsl_velox8_conn disabled=no in-interface=LOCAL1 new-routing-mark=to_adsl_velox8 passthrough=yes

    # ip route----------------------------------
    /ip route add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=adsl_centec2 routing-mark=to_adsl_centec2 comment="Link0"
    /ip route add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=adsl_centec3 routing-mark=to_adsl_centec3 comment="Link1"
    /ip route add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=adsl_centec4 routing-mark=to_adsl_centec4 comment="Link2"
    /ip route add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=adsl_centec5 routing-mark=to_adsl_centec5 comment="Link3"
    /ip route add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=adsl_velox6 routing-mark=to_adsl_velox6 comment="Link4"
    /ip route add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=adsl_velox7 routing-mark=to_adsl_velox7 comment="Link5"
    /ip route add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=adsl_velox8 routing-mark=to_adsl_velox8 comment="Link6"
    /ip route add comment="Link0" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=adsl_centec2 scope=30 target-scope=10
    /ip route add comment="Link1" disabled=no distance=2 dst-address=0.0.0.0/0 gateway=adsl_centec3 scope=30 target-scope=10
    /ip route add comment="Link2" disabled=no distance=3 dst-address=0.0.0.0/0 gateway=adsl_centec4 scope=30 target-scope=10
    /ip route add comment="Link3" disabled=no distance=4 dst-address=0.0.0.0/0 gateway=adsl_centec5 scope=30 target-scope=10
    /ip route add comment="Link4" disabled=no distance=5 dst-address=0.0.0.0/0 gateway=adsl_velox6 scope=30 target-scope=10
    /ip route add comment="Link5" disabled=no distance=6 dst-address=0.0.0.0/0 gateway=adsl_velox7 scope=30 target-scope=10
    /ip route add comment="Link6" disabled=no distance=7 dst-address=0.0.0.0/0 gateway=adsl_velox8 scope=30 target-scope=10

    # ip firewall address-list-----------------------------
    /ip firewall address-list add address=200.155.80.0-200.155.255.255 comment=BRADESCO disabled=no list=loopback
    /ip firewall address-list add address=200.220.186.0/24 comment=BRADESCO disabled=no list=loopback
    /ip firewall address-list add address=200.220.178.0/24 comment=BRADESCO disabled=no list=loopback
    /ip firewall address-list add address=64.38.29.0/24 comment=RapidShare disabled=no list=loopback
    /ip firewall address-list add address=208.69.32.0/24 comment="" disabled=no list=loopback
    /ip firewall address-list add address=208.67.217.0/24 comment="" disabled=no list=loopback
    /ip firewall address-list add address=201.7.178.0/24 comment="" disabled=no list=loopback
    /ip firewall address-list add address=201.7.176.0/24 comment="" disabled=no list=loopback
    /ip firewall address-list add address=200.159.128.0/24 comment=BRADESCO disabled=no list=loopback
    /ip firewall address-list add address=201.7.176.0/20 comment="Vídeos - Globo" disabled=no list=loopback
    /ip firewall address-list add address=208.84.247.0/24 comment="Vídeos - terratv" disabled=no list=loopback
    /ip firewall address-list add address=200.154.56.0/24 comment="Vídeos - terratv" disabled=no list=loopback
    /ip firewall address-list add address=200.201.160.0/24 comment="Caixa Economica Federal" disabled=no list=loopback
    /ip firewall address-list add address=200.201.166.0/24 comment="" disabled=no list=loopback
    /ip firewall address-list add address=200.201.173.0/24 comment="" disabled=no list=loopback
    /ip firewall address-list add address=200.201.174.0/24 comment="" disabled=no list=loopback
    /ip firewall address-list add address=200.141.207.3 comment=Detran disabled=no list=loopback

    # /system script--------------------------------------
    /system script add name=Link0Dow policy=\ ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\ /ip firewall filter set [find comment=\"Link0\"] disabled=yes;\r\ \n/ip firewall nat set [find comment=\"Link0\"] disabled=yes;\r\ \n/ip firewall mangle set [find comment=\"Link0\"] disabled=yes;\r\ \n/ip route set [find comment=\"Link0\"] disabled=yes;"
    /system script add name=Link1Dow policy=\ ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\ /ip firewall filter set [find comment=\"Link1\"] disabled=yes;\r\ \n/ip firewall nat set [find comment=\"Link1\"] disabled=yes;\r\ \n/ip firewall mangle set [find comment=\"Link1\"] disabled=yes;\r\ \n/ip route set [find comment=\"Link1\"] disabled=yes;"
    /system script add name=Link2Dow policy=\ ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\ /ip firewall filter set [find comment=\"Link2\"] disabled=yes;\r\ \n/ip firewall nat set [find comment=\"Link2\"] disabled=yes;\r\ \n/ip firewall mangle set [find comment=\"Link2\"] disabled=yes;\r\ \n/ip route set [find comment=\"Link2\"] disabled=yes;"
    /system script add name=Link3Dow policy=\ ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\ /ip firewall filter set [find comment=\"Link3\"] disabled=yes;\r\ \n/ip firewall nat set [find comment=\"Link3\"] disabled=yes;\r\ \n/ip firewall mangle set [find comment=\"Link3\"] disabled=yes;\r\ \n/ip route set [find comment=\"Link3\"] disabled=yes;"
    /system script add name=Link4Dow policy=\ ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\ /ip firewall filter set [find comment=\"Link4\"] disabled=yes;\r\ \n/ip firewall nat set [find comment=\"Link4\"] disabled=yes;\r\ \n/ip firewall mangle set [find comment=\"Link4\"] disabled=yes;\r\ \n/ip route set [find comment=\"Link4\"] disabled=yes;"
    /system script add name=Link5Dow policy=\ ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\ /ip firewall filter set [find comment=\"Link5\"] disabled=yes;\r\ \n/ip firewall nat set [find comment=\"Link5\"] disabled=yes;\r\ \n/ip firewall mangle set [find comment=\"Link5\"] disabled=yes;\r\ \n/ip route set [find comment=\"Link5\"] disabled=yes;"
    /system script add name=Link6Dow policy=\ ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\ /ip firewall filter set [find comment=\"Link6\"] disabled=yes;\r\ \n/ip firewall nat set [find comment=\"Link6\"] disabled=yes;\r\ \n/ip firewall mangle set [find comment=\"Link6\"] disabled=yes;\r\ \n/ip route set [find comment=\"Link6\"] disabled=yes;"
    /system script add name=Link0Up policy=\ ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\ /ip firewall filter set [find comment=\"Link0\"] disabled=no;\r\ \n/ip firewall nat set [find comment=\"Link0\"] disabled=no;\r\ \n/ip firewall mangle set [find comment=\"Link0\"] disabled=no;\r\ \n/ip route set [find comment=\"Link0\"] disabled=no;"
    /system script add name=Link1Up policy=\ ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\ /ip firewall filter set [find comment=\"Link1\"] disabled=no;\r\ \n/ip firewall nat set [find comment=\"Link1\"] disabled=no;\r\ \n/ip firewall mangle set [find comment=\"Link1\"] disabled=no;\r\ \n/ip route set [find comment=\"Link1\"] disabled=no;"
    /system script add name=Link2Up policy=\ ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\ /ip firewall filter set [find comment=\"Link2\"] disabled=no;\r\ \n/ip firewall nat set [find comment=\"Link2\"] disabled=no;\r\ \n/ip firewall mangle set [find comment=\"Link2\"] disabled=no;\r\ \n/ip route set [find comment=\"Link2\"] disabled=no;"
    /system script add name=Link3Up policy=\ ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\ /ip firewall filter set [find comment=\"Link3\"] disabled=no;\r\ \n/ip firewall nat set [find comment=\"Link3\"] disabled=no;\r\ \n/ip firewall mangle set [find comment=\"Link3\"] disabled=no;\r\ \n/ip route set [find comment=\"Link3\"] disabled=no;"
    /system script add name=Link4Up policy=\ ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\ /ip firewall filter set [find comment=\"Link4\"] disabled=no;\r\ \n/ip firewall nat set [find comment=\"Link4\"] disabled=no;\r\ \n/ip firewall mangle set [find comment=\"Link4\"] disabled=no;\r\ \n/ip route set [find comment=\"Link4\"] disabled=no;"
    /system script add name=Link5Up policy=\ ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\ /ip firewall filter set [find comment=\"Link5\"] disabled=no;\r\ \n/ip firewall nat set [find comment=\"Link5\"] disabled=no;\r\ \n/ip firewall mangle set [find comment=\"Link5\"] disabled=no;\r\ \n/ip route set [find comment=\"Link5\"] disabled=no;"
    /system script add name=Link6Up policy=\ ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\ /ip firewall filter set [find comment=\"Link6\"] disabled=no;\r\ \n/ip firewall nat set [find comment=\"Link6\"] disabled=no;\r\ \n/ip firewall mangle set [find comment=\"Link6\"] disabled=no;\r\ \n/ip route set [find comment=\"Link6\"] disabled=no;"

  2. ta puxando mais do link 1 por causa dessa regra "/ip firewall mangle add action=accept chain=prerouting comment="HTTPS FORA DO LOADBALACED" disabled=no protocol=tcp dst-port=443 in-interface=LOCAL1" site seguros saindo tudo pelo link principal eu uso esse mesmo balance mais com essa regra desativada, ai os site que forem dando problema vc cadastra no loopbak




  3. Amigao tem como vc fazer o upload ai do pcc 1.5 se possível






Tópicos Similares

  1. PCC Balance de 3 a 16 links - Por: M4D3
    Por m4d3 no fórum Redes
    Respostas: 509
    Último Post: 30-05-2016, 12:59
  2. PCC
    Por aprinou no fórum Redes
    Respostas: 284
    Último Post: 22-04-2016, 14:32
  3. Problemas depois de implementar PCC
    Por antonoel no fórum Redes
    Respostas: 2
    Último Post: 14-08-2009, 09:57
  4. Lentidão depois do PCC
    Por Evilazio no fórum Redes
    Respostas: 17
    Último Post: 04-08-2009, 22:56
  5. Respostas: 2
    Último Post: 24-07-2009, 19:11

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L