load balance 4

Upload: francisco-maia

Post on 07-Aug-2018

212 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/20/2019 Load Balance 4

    1/3

    DOWNLOAD NO LINK E PAGINAS NA ADSL

    LOAD BALANCE 4

    ip firewall natadd chain=dstnat in-interface=ether1 protocol=tcp dst-port=80 action=redirect to-ports=3128 comment="" disabled=noadd chain=srcnat out-interface=ether2 action=masquerade comment="" disabled=noadd chain=srcnat out-interface=ether3 action=masquerade comment="" disabled=noadd chain=srcnat out-interface=ether4 action=masquerade comment="" disabled=noadd chain=srcnat src-address=192.168.0.0/24 action=masquerade comment="" disabled=noadd chain=srcnat src-address=192.168.1.0/24 action=masquerade comment="" disabled=noadd chain=srcnat src-address=192.168.2.0/24 action=masquerade comment="" disabled=no

    ip firewall mangleadd chain=prerouting p2p=all-p2p action=mark-routing new-routing-mark=p2p passthrough=yes comment="P2P REDIRECIONADO" \  disabled=no

    add chain=prerouting p2p=all-p2p action=mark-connection new-connection-mark=P2P_ com passthrough=yes comment="Controle p2p" \  disabled=noadd chain=prerouting connection-mark=P2P_com action=mark-packet new-packet-mark=P2P passthrough=yes comment="" disabled=noadd chain=prerouting protocol=tcp src-port=1863 action=mark-packet new-packet-mark=msn-out passthrough=yes comment="MSN" \  disabled=noadd chain=prerouting protocol=tcp dst-port=1863 action=mark-packet new-packet-mark=msn-in passthrough=yes comment="" \  disabled=noadd chain=forward protocol=tcp tcp-flags=syn action=change-mss new-mss=1360 comment="" disabled=no

    add chain=prerouting protocol=udp dst-port=5060 action=mark-connection new-connection-mark=voip_in passthrough=yes \  comment="VOIP-IN" disabled=noadd chain=prerouting connection-mark=voip_in action=mark-packet new-packet-mark=VOIP_IN passthrough=yes comment="" \  disabled=noadd chain=prerouting protocol=udp src-port=5060 action=mark-connection new-connection-mark=voip_out passthrough=yes \  comment="VOIP-OUT" disabled=noadd chain=prerouting connection-mark=voip_out action=mark-packet new-packet-mark=VOIP_OUT passthrough=yes comment="" \  disabled=noadd chain=prerouting protocol=tcp dst-port=80 action=mark-connection new-connect

    ion-mark=http-down passthrough=yes \  comment="HTTP" disabled=noadd chain=prerouting connection-mark=http-down action=mark-packet new-packet-mark=HTTP passthrough=yes comment="" \  disabled=noadd chain=prerouting protocol=tcp dst-port=443 action=mark-connection new-connection-mark=443_conn passthrough=yes \  comment="SSL" disabled=noadd chain=forward p2p=bit-torrent action=mark-connection new-connection-mark=bit-torrent_conn passthrough=yes \

  • 8/20/2019 Load Balance 4

    2/3

      comment="habilitado Marca Conn bit-torrent" disabled=noadd chain=forward connection-mark=bit-torrent_conn action=mark-packet new-packet-mark=bit-torrent passthrough=yes \  comment="" disabled=noadd chain=forward p2p=warez action=mark-connection new-connection-mark=warez_conn passthrough=yes comment="Marca Conn \  warez" disabled=noadd chain=forward connection-mark=warez_conn action=mark-packet new-packet-mark=warez passthrough=yes comment="" \  disabled=noadd chain=prerouting dst-address=200.201.174.0/24 protocol=tcp dst-port=80 action=mark-packet new-packet-mark=semproxy \  passthrough=yes comment="Conectivade Social" disabled=noadd chain=prerouting dst-address=200.221.8.0/24 protocol=tcp dst-port=80 action=mark-packet new-packet-mark=semproxy \  passthrough=yes comment="" disabled=noadd chain=prerouting p2p=warez action=mark-connection new-connection-mark=ares passthrough=yes comment="ARES" disabled=no

    ip routeadd dst-address=4.0.0.0/6 gateway=201.89.217.233 distance=2 scope=255 target-scope=10 comment="" disabled=no

    add dst-address=8.0.0.0/7 gateway=201.89.217.233 distance=2 scope=255 target-scope=10 comment="" disabled=noadd dst-address=12.0.0.0/6 gateway=201.89.217.233 distance=2 scope=255 target-scope=10 comment="" disabled=noadd dst-address=16.0.0.0/4 gateway=201.89.217.233 distance=2 scope=255 target-scope=10 comment="" disabled=noadd dst-address=32.0.0.0/4 gateway=201.89.217.233 distance=2 scope=255 target-scope=10 comment="" disabled=noadd dst-address=64.0.0.0/8 gateway=201.89.217.233 distance=2 scope=255 target-scope=10 comment="" disabled=noadd dst-address=65.0.0.0/8 gateway=201.89.217.233 distance=2 scope=255 target-scope=10 comment="" disabled=noadd dst-address=72.0.0.0/8 gateway=201.89.217.233 distance=2 scope=255 target-sc

    ope=10 comment="" disabled=no

     add dst-address=200.146.79.165/32 gateway=201.24.196.254,201.24.196.254 scope=255 target-scope=10 comment="NO REMOVER \  TESTE LINK1" disabled=noadd dst-address=201.67.117.81/32 gateway=201.89.222.209,201.89.222.209 scope=255 target-scope=10 comment="NO REMOVER TESTE \  LINK2" disabled=no

    add dst-address=207.0.0.0/8 gateway=201.89.217.233 scope=255 target-scope=10 comment="" disabled=no

    add dst-address=209.85.141.85/32 gateway=201.89.217.233 distance=2 scope=255 target-scope=10 comment="" disabled=noadd dst-address=209.85.141.86/32 gateway=201.89.217.233 distance=2 scope=255 target-scope=10 comment="" disabled=noadd dst-address=209.85.141.87/32 gateway=201.89.217.233 distance=2 scope=255 target-scope=10 comment="" disabled=noadd dst-address=209.85.141.94/32 gateway=201.89.217.233 distance=2 scope=255 target-scope=10 comment="" disabled=noadd dst-address=209.85.169.85/32 gateway=201.89.217.233 distance=2 scope=255 target-scope=10 comment="" disabled=no

  • 8/20/2019 Load Balance 4

    3/3

    add dst-address=209.85.169.86/32 gateway=201.89.217.233 distance=2 scope=255 target-scope=10 comment="" disabled=noadd dst-address=209.85.171.85/32 gateway=201.89.217.233 distance=2 scope=255 target-scope=10 comment="" disabled=noadd dst-address=209.85.171.86/32 gateway=201.89.217.233 distance=2 scope=255 target-scope=10 comment="" disabled=noadd dst-address=209.85.171.87/32 gateway=201.89.222.209 distance=2 scope=255 target-scope=10 comment="" disabled=noadd dst-address=0.0.0.0/0 gateway=201.89.222.209 distance=2 scope=255 target-scope=10 comment="" disabled=noadd dst-address=0.0.0.0/0 gateway=201.89.222.209 distance=2 scope=255 target-scope=10 routing-mark=p2p comment="" \  disabled=no

    OBS:

    onde esta 201.24.196.254 é o gateway da minha antiga adslonde esta 201.89.222.209 é o gateway do meu antigo link

    adptem ao seu sistema

    mas lembrando adsl ...modem em bridge autenticado pelo MK

    e copiar e colar nem sempre da certo não me responsabilizo.

    mas aconselho a todos usarem o thunder cahche que uso hjmaravilha de software faz milagres...