+ Responder ao Tópico



  1. Estou com um problema preciso entregar um link adsl pra um cliente

    Ja fiz o balanceamento mas no meu caso nao funciona junto com o proxy (ativo o proxy ele para) se fasso antes o proxy nao funciona.

    como posso entregar esse link.


    ja testei com o tracert -d 8.8.8.8 ali dis que ta certo

    mas quando consulto o ip da o meu ip valido (de fibra Otica)


    Nao vo dividir apenas entregar.

  2. Pessoal pode me dar uma luz to tendo de usar dois servidor um com loadbalance e o outro pra proxy e hotspot


    alguem pode ver se nao e uma regra a mais (e pra essa maquina que tenho de mandar 20.20.0.42 )




    #
    / ip firewall mangle
    add chain=prerouting protocol=tcp dst-port=80 action=mark-connection \
    new-connection-mark=http_conn passthrough=yes comment="" disabled=no
    add chain=prerouting connection-mark=http_conn action=mark-packet \
    new-packet-mark=http_down passthrough=yes comment="" disabled=no
    add chain=postrouting p2p=all-p2p action=mark-connection \
    new-connection-mark=p2p_conn passthrough=yes comment="" disabled=no
    add chain=postrouting connection-mark=p2p_conn action=mark-packet \
    new-packet-mark=p2p passthrough=yes comment="" disabled=no
    add chain=prerouting connection-mark=p2p_conn action=mark-packet \
    new-packet-mark=orher passthrough=yes comment="" disabled=no
    add chain=prerouting protocol=tcp src-port=1863 action=mark-packet \
    new-packet-mark=msn-out passthrough=yes comment="" disabled=no
    add chain=prerouting protocol=tcp dst-port=1863 action=mark-packet \
    new-packet-mark=msn-in passthrough=yes comment="" disabled=no
    add chain=prerouting p2p=all-p2p action=mark-connection \
    new-connection-mark=p2p_conn passthrough=yes comment="" disabled=no
    add chain=prerouting connection-mark=p2p_conn action=mark-packet \
    new-packet-mark=p2p passthrough=yes comment="" disabled=no
    add chain=output protocol=tcp src-port=8080 content="X-Cache: HIT" \
    action=mark-connection new-connection-mark=squid-connection-HIT \
    passthrough=yes comment="" disabled=no
    add chain=output connection-mark=squid-connection-HIT action=mark-packet \
    new-packet-mark=squid-packet-HIT passthrough=yes comment="" disabled=no
    add chain=prerouting src-address=20.20.0.42 action=mark-routing \
    new-routing-mark=not passthrough=no comment="" disabled=no
    / ip firewall nat
    add chain=srcnat src-address=20.20.0.0/24 action=masquerade \
    comment="masquerade hotspot network" disabled=no
    add chain=dstnat in-interface=ether1 protocol=tcp dst-port=80 action=redirect \
    to-ports=8080 comment="" disabled=no
    add chain=srcnat action=masquerade comment="masquerade hotspot network" \
    disabled=no
    / ip firewall connection tracking
    set enabled=yes tcp-syn-sent-timeout=5s tcp-syn-received-timeout=5s \
    tcp-established-timeout=1d tcp-fin-wait-timeout=10s \
    tcp-close-wait-timeout=10s tcp-last-ack-timeout=10s \
    tcp-time-wait-timeout=10s tcp-close-timeout=10s udp-timeout=10s \
    udp-stream-timeout=3m icmp-timeout=10s generic-timeout=10m \
    tcp-syncookie=no
    / ip firewall filter
    add chain=forward connection-state=established action=accept comment="" \
    disabled=no
    add chain=forward action=jump jump-target=virus comment="" disabled=no
    add chain=forward connection-state=related action=accept comment="" \
    disabled=no
    add chain=forward connection-state=invalid action=drop comment="" disabled=no
    add chain=forward protocol=udp action=accept comment="" disabled=no
    add chain=forward protocol=icmp action=accept comment="" disabled=no
    add chain=input connection-state=established action=accept comment="" \
    disabled=no
    add chain=input connection-state=invalid action=drop comment="" disabled=no
    add chain=input action=jump jump-target=virus comment="" disabled=no
    add chain=input protocol=udp action=accept comment="" disabled=no
    add chain=input protocol=icmp action=accept comment="" disabled=no
    add chain=input protocol=tcp dst-port=1863 action=accept comment="" \
    disabled=no
    add chain=input protocol=tcp dst-port=8291 action=accept comment="" \
    disabled=no
    add chain=output connection-state=related action=accept comment="" disabled=no
    add chain=p2p src-address=20.20.0.0/24 protocol=tcp p2p=all-p2p \
    connection-limit=10,24 action=drop comment="" disabled=no
    add chain=virus protocol=tcp dst-port=135-139 action=drop comment="" \
    disabled=no
    add chain=virus protocol=tcp dst-port=445 action=drop comment="" disabled=no
    add chain=virus protocol=udp dst-port=445 action=drop comment="" disabled=no
    add chain=forward src-address=20.20.0.0/24 protocol=tcp tcp-flags=syn \
    connection-limit=100,24 action=drop comment="limite de conexao por \
    cliente" disabled=no
    add chain=virus in-interface=ether0 protocol=tcp dst-port=8080 action=drop \
    comment="BLOQUEIO DO PROXY EXTERNO" disabled=no
    add chain=virus protocol=tcp dst-port=135-139 action=drop comment="Drop \
    Blaster Worm" disabled=no
    add chain=virus protocol=udp dst-port=135-139 action=drop comment="Drop \
    Messenger Worm" disabled=no
    add chain=virus protocol=tcp dst-port=445 action=drop comment="Drop Blaster \
    Worm" disabled=no
    add chain=virus protocol=udp dst-port=445 action=drop comment="Drop Blaster \
    Worm" disabled=no
    add chain=virus protocol=tcp dst-port=593 action=drop comment="________" \
    disabled=no
    add chain=virus protocol=tcp dst-port=1024-1030 action=drop comment="________" \
    disabled=no
    add chain=virus protocol=tcp dst-port=1080 action=drop comment="Drop MyDoom" \
    disabled=no
    add chain=virus protocol=tcp dst-port=1214 action=drop comment="________" \
    disabled=no
    add chain=virus protocol=tcp dst-port=1363 action=drop comment="ndm requester" \
    disabled=no
    add chain=virus protocol=tcp dst-port=1364 action=drop comment="ndm server" \
    disabled=no
    add chain=virus protocol=tcp dst-port=1368 action=drop comment="screen cast" \
    disabled=no
    add chain=virus protocol=tcp dst-port=1373 action=drop comment="hromgrafx" \
    disabled=no
    add chain=virus protocol=tcp dst-port=1377 action=drop comment="cichlid" \
    disabled=no
    add chain=virus protocol=tcp dst-port=1433-1434 action=drop comment="Worm" \
    disabled=no
    add chain=virus protocol=tcp dst-port=2745 action=drop comment="Bagle Virus" \
    disabled=no
    add chain=virus protocol=tcp dst-port=2283 action=drop comment="Drop Dumaru.Y" \
    disabled=no
    add chain=virus protocol=tcp dst-port=2535 action=drop comment="Drop Beagle" \
    disabled=no
    add chain=virus protocol=tcp dst-port=2745 action=drop comment="Drop \
    Beagle.C-K" disabled=no
    add chain=virus protocol=tcp dst-port=3127-3128 action=drop comment="Drop \
    porta proxy" disabled=no
    add chain=virus protocol=tcp dst-port=3410 action=drop comment="Drop Backdoor \
    OptixPro" disabled=no
    add chain=virus protocol=tcp dst-port=4444 action=drop comment="Worm" \
    disabled=no
    add chain=virus protocol=udp dst-port=4444 action=drop comment="Worm" \
    disabled=no
    add chain=virus protocol=tcp dst-port=5554 action=drop comment="Drop Sasser" \
    disabled=no
    add chain=virus protocol=tcp dst-port=8866 action=drop comment="Drop Beagle.B" \
    disabled=no
    add chain=virus protocol=tcp dst-port=9898 action=drop comment="Drop \
    Dabber.A-B" disabled=no
    add chain=virus protocol=tcp dst-port=10000 action=drop comment="Drop \
    Dumaru.Y" disabled=no
    add chain=virus protocol=tcp dst-port=10080 action=drop comment="Drop \
    MyDoom.B" disabled=no
    add chain=virus protocol=tcp dst-port=12345 action=drop comment="Drop NetBus" \
    disabled=no
    add chain=virus protocol=tcp dst-port=17300 action=drop comment="Drop Kuang2" \
    disabled=no
    add chain=virus protocol=tcp dst-port=27374 action=drop comment="Drop \
    SubSeven" disabled=no
    add chain=virus protocol=tcp dst-port=65506 action=drop comment="Drop PhatBot, \
    Agobot, Gaobot" disabled=no
    add chain=virus action=accept comment="Bloqueio de virus" disabled=no
    add chain=forward connection-state=invalid action=drop comment="Drop invalid \
    connections" disabled=no
    add chain=forward connection-state=established action=accept \
    comment="Established Connections" disabled=no
    add chain=forward connection-state=related action=accept comment="Related \
    connections" disabled=no
    add chain=forward action=jump jump-target=virus comment="!!! Check for \
    well-known viruses !!!" disabled=no
    add chain=forward protocol=udp action=accept comment="UDP" disabled=no
    add chain=forward protocol=icmp limit=50/5s,2 action=accept comment="Allow \
    limited Pings" disabled=no
    add chain=forward protocol=icmp action=drop comment="Drop excess pings" \
    disabled=no
    add chain=input connection-state=invalid action=drop comment="Drop invalid \
    connections" disabled=no
    add chain=input tcp-flags=!syn connection-state=established action=accept \
    comment="Accept established connections" disabled=no
    add chain=input connection-state=related action=accept comment="Accept related \
    connections" disabled=no
    add chain=input action=jump jump-target=virus comment="!!! Check for \
    well-known viruses !!!" disabled=no
    add chain=input protocol=udp action=accept comment="UDP" disabled=no
    add chain=input protocol=icmp limit=50/5s,2 action=accept comment="Allow \
    limited pings" disabled=no
    add chain=input protocol=icmp action=drop comment="Drop excess pings" \
    disabled=no
    add chain=input protocol=tcp dst-port=22 action=accept comment="SSH for demo \
    purposes" disabled=no
    add chain=input protocol=tcp dst-port=23 action=accept comment="Telnet for \
    demo purposes" disabled=no
    add chain=input protocol=tcp dst-port=80 action=accept comment="http for demo \
    purposes" disabled=no
    add chain=input protocol=tcp dst-port=3987 action=accept comment="winbox for \
    demo purposes" disabled=no
    add chain=input action=accept comment="Log and drop everything else" \
    disabled=no
    / ip firewall service-port
    set ftp ports=21 disabled=no
    set tftp ports=69 disabled=yes
    set irc ports=6667 disabled=no
    set h323 disabled=yes
    set quake3 disabled=yes
    set gre disabled=yes
    set pptp disabled=yes
    [admin@Wireless] ip firewall>



  3. Citação Postado originalmente por silviawicki Ver Post
    Estou com um problema preciso entregar um link adsl pra um cliente

    Ja fiz o balanceamento mas no meu caso nao funciona junto com o proxy (ativo o proxy ele para) se fasso antes o proxy nao funciona.

    como posso entregar esse link.


    ja testei com o tracert -d 8.8.8.8 ali dis que ta certo

    mas quando consulto o ip da o meu ip valido (de fibra Otica)


    Nao vo dividir apenas entregar.
    Tive o mesmo problema caro colega, quando o proxy esta ativo a rota só responde por um determinado IP, quando desativo o web-proxy ai ele sai por o determinado IP no qual era programado.

    Não consegui arrumar isso. Ai desativei o web-proxy.






Tópicos Similares

  1. Respostas: 16
    Último Post: 07-08-2014, 13:59
  2. Quantas pessoas posso colocar em um Link Adsl de 50mb
    Por anderson rodrigo no fórum Certificação
    Respostas: 25
    Último Post: 12-01-2014, 22:57
  3. Respostas: 12
    Último Post: 14-10-2011, 17:37
  4. Unir dois links ADSL em um servidor RadHat
    Por cassiogs no fórum Servidores de Rede
    Respostas: 29
    Último Post: 11-09-2007, 13:53
  5. Respostas: 7
    Último Post: 05-08-2007, 09:39

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L