Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Results 1 to 7 of 7
  1. #1
    Status
    Offline
    Xerophie's Avatar
    Calon Member
    Join Date
    Sep 2007
    Location
    Recycle Bin
    Posts
    84
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    1 (100%)

    Unhappy [help] pake external proxy (squid) di router load-balance

    seperti post saya disini,


    squid sy jalan di ubuntu
    mikrotik v3.13 load balance -- 3 isp
    kalau di 80 redirect ke proxy tanpa parent proxy (dst-nat),
    ngg jalan (pelan sekali hampir ngg nyambung)

    kalau load balance nya sy disable & pake 1 gateway lancar2 saja,

    topologi

    [ADSL] [ADSL] [WAN]
    --|-------|------|
    ----|-----|----|
    ------|---|--|
    ------[Mikrotik]--[Proxy][Squid - Ubuntu]
    ----------|
    --------[LAN]



    cuplikan config mikrotik saya:

    /ip address
    xxx.103.xxx.xxx/29 --> wan isp
    192.168.100.2/30 --> ke modem speedy A
    192.168.200.2/30 --> ke modem speedy B
    192.168.10.30/27 --> ke LAN
    192.168.10.90/27 --> ke Proxy

    Code:
    /ip firewall mangle
    chain=prerouting action=mark-connection new-connection-mark=Maria 
    passthrough=yes connection-state=new src-address=192.168.0.0/16 nth=3,1 
    
    chain=prerouting action=mark-routing new-routing-mark=Maria passthrough=n>
    src-address=192.168.0.0/16 connection-mark=Maria 
    
    chain=prerouting action=mark-connection new-connection-mark=Ozawa 
    passthrough=yes connection-state=new src-address=192.168.0.0/16 nth=2,1 
    
    chain=prerouting action=mark-routing new-routing-mark=Ozawa passthrough=n>
    src-address=192.168.0.0/16 connection-mark=Ozawa 
    
    chain=prerouting action=mark-connection new-connection-mark=Miyabi
    passthrough=yes connection-state=new src-address=192.168.0.0/16 nth=0,0 
    
    chain=prerouting action=mark-routing new-routing-mark=Miyabi 
    passthrough=no src-address=192.168.0.0/16 connection-mark=Miyabi
    
    
    /ip firewall nat
    chain=srcnat action=masquerade out-interface=Speedy-Maria 
    
    chain=srcnat action=masquerade out-interface=Speedy-Ozawa 
    
    chain=srcnat action=masquerade out-interface=WAN
    
    chain=srcnat action=masquerade src-address=192.168.10.0/27 
    
    chain=srcnat action=masquerade src-address=192.168.10.64/27 
    
    X ;;; proxy
    chain=dstnat action=dst-nat to-addresses=192.168.10.66 to-ports=1010 
    src-address=192.168.10.0/27 dst-port=80 protocol=tcp
    please help Click here to enlarge Click here to enlarge
    Last edited by Xerophie; 16-09-2008 at 08:53.

  2. #2
    Status
    Offline
    donipermono1982's Avatar
    Moderator
    Join Date
    Feb 2008
    Location
    Jakarta Selatan
    Posts
    2,810
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0


    coba liad video tutorial ini siapa tahu ada yang nyangkut sama pertanyaan lu...

    ok

  3. The Following User Says Thank You to donipermono1982 For This Useful Post:


  4. #3
    Status
    Offline
    Xerophie's Avatar
    Calon Member
    Join Date
    Sep 2007
    Location
    Recycle Bin
    Posts
    84
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    1 (100%)

    Unhappy huhuhuhu....

    i'm stuck Click here to enlarge

    ada yg make squid & mikrotik yg di load balance ngg?
    bagi titz nya pls, Click here to enlarge

  5. The Following User Says Thank You to Xerophie For This Useful Post:


  6. #4
    Status
    Offline
    Xerophie's Avatar
    Calon Member
    Join Date
    Sep 2007
    Location
    Recycle Bin
    Posts
    84
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    1 (100%)

    Smile Wew...

    aduhh blm ada yg reply ya Click here to enlarge

    ada satu petunjuk yg bisa membantu,

    kalau load balance ny ngg diaktifin (pake 1 isp) ping ke pc proxy squid lancar,
    tp kalau load balance nya diaktifin ping dari LAN ke pc squid (lintas network/subnet atau remote dengan ssh/webmin)
    kadang nyambung kadang ngg... Click here to enlarge kalau di ping cuma 2 ping pertama yg konek bis itu rto terus
    Last edited by Xerophie; 22-09-2008 at 02:20.

  7. #5
    Status
    Offline
    ethernity's Avatar
    Baru Gabung
    Join Date
    Nov 2007
    Posts
    3
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Salam kenal Bro, Gue baru join di forum ini.

    Gue pernah coba load balance dengan external proxy yang di load balance adalah yang keluar dari proxy-nya (cuma browsing aja) Manglenya lebih kurang seperti menjadi :

    Code:
    /ip firewall mangle
    chain=prerouting action=mark-connection new-connection-mark=Maria 
    passthrough=yes connection-state=new in-interface=interface-proxy nth=3,1 
    
    chain=prerouting action=mark-routing new-routing-mark=Maria passthrough=n>
    in-interface=interface-proxy connection-mark=Maria 
    
    chain=prerouting action=mark-connection new-connection-mark=Ozawa 
    passthrough=yes connection-state=new in-interface=interface-proxy nth=2,1 
    
    chain=prerouting action=mark-routing new-routing-mark=Ozawa passthrough=n>
    in-interface=interface-proxy connection-mark=Ozawa 
    
    chain=prerouting action=mark-connection new-connection-mark=Miyabi
    passthrough=yes connection-state=new in-interface=interface-proxy nth=0,0 
    
    chain=prerouting action=mark-routing new-routing-mark=Miyabi 
    passthrough=no in-interface=interface-proxy connection-mark=Miyabi

  8. #6
    Status
    Offline
    Xerophie's Avatar
    Calon Member
    Join Date
    Sep 2007
    Location
    Recycle Bin
    Posts
    84
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    1 (100%)

    Thumbs up

    Click here to enlarge Originally Posted by ethernity Click here to enlarge
    Salam kenal Bro, Gue baru join di forum ini.

    Gue pernah coba load balance dengan external proxy yang di load balance adalah yang keluar dari proxy-nya (cuma browsing aja) Manglenya lebih kurang seperti menjadi :

    Code:
    /ip firewall mangle
    chain=prerouting action=mark-connection new-connection-mark=Maria 
    passthrough=yes connection-state=new in-interface=interface-proxy nth=3,1 
    
    chain=prerouting action=mark-routing new-routing-mark=Maria passthrough=n>
    in-interface=interface-proxy connection-mark=Maria 
    
    chain=prerouting action=mark-connection new-connection-mark=Ozawa 
    passthrough=yes connection-state=new in-interface=interface-proxy nth=2,1 
    
    chain=prerouting action=mark-routing new-routing-mark=Ozawa passthrough=n>
    in-interface=interface-proxy connection-mark=Ozawa 
    
    chain=prerouting action=mark-connection new-connection-mark=Miyabi
    passthrough=yes connection-state=new in-interface=interface-proxy nth=0,0 
    
    chain=prerouting action=mark-routing new-routing-mark=Miyabi 
    passthrough=no in-interface=interface-proxy connection-mark=Miyabi
    wew... teori nya cuma bisa browsing http aja dong coz yg dari proxy kan cuma dari port 80 untuk port lainnya kemana Click here to enlarge

    ayoo yg laen ditunggu Click here to enlarge

  9. #7
    Status
    Offline
    erwinpasali's Avatar
    Baru Gabung
    Join Date
    Mar 2008
    Posts
    8
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    coba buka ini bro

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. load balance + load balance
    By pc2console in forum Scripting @ Mikrotik
    Replies: 23
    Last Post: 24-06-2014, 17:12
  2. Pake squid external lebih lemot dari internal MT
    By kunimihiro in forum General Networking
    Replies: 30
    Last Post: 17-05-2011, 07:40
  3. [Ask] 2 ISP no-load balance
    By Sumarjono in forum General Networking
    Replies: 11
    Last Post: 05-07-2008, 01:51
  4. help:load balance+speedy
    By ud1geol in forum Beginner Basics
    Replies: 5
    Last Post: 26-06-2008, 11:44
  5. Load Balance + web proxy
    By ahri in forum Scripting @ Mikrotik
    Replies: 2
    Last Post: 11-04-2008, 15:38

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •