Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Page 1 of 2 12 LastLast
Results 1 to 15 of 30
  1. #1
    Status
    Offline
    awarmanf's Avatar
    Member
    Join Date
    Apr 2008
    Posts
    222
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    Buat rule ip proxy cache di 3.x

    Mau sumbang tutorial untuk rule ip proxy cache di mikrotik versi 3.x.
    Berbeda dengan mikrotik versi 2.9.x, pada mikrotik 3.x tidak ada seting default di /ip proxy cache.

    Mikrotik 2.9.x
    Code:
     /ip web-proxy cache print 
    Flags: X - disabled, I - invalid 
     0   ;;; don't cache dynamic http pages
         url=":cgi-bin \\?" action=deny
    Mikrotik 3.x
    Code:
    /ip proxy cache print 
    Flags: X - disabled 
     #   DST-PORT                 DST-HOST           PATH           METHOD  ACTION HITS
    Penulis pada awalnya hantam kromo saja menganggap versi 3.x mempunyai kemiripan sintaks untuk rule cache dengan versi 2.9.x. Sintaks yang digunakan di 2.9.x saat ditulis di 3.x ternyata tidak error tapi itu bukan berarti tidak ada masalah. Sintaksnya ditulis begini:
    Code:
    /ip proxy cache> print                               
    Flags: X - disabled 
     #   DST-PORT                 DST-HOST           PATH           METHOD  ACTION HITS      
     0                                               :cgin-bin \?            deny   0
    Setelah proxy diaktifkan dan dites dengan request ke url di bawah ini:

    Ternyata di ip proxy cache-contents, no 1-3 tidak tersimpan tetapi nomor 4 tersimpan. Anehnya counter di kolom hits untuk rule tersebut tidak naik alias tetap 0. Setelah mencoba beberapa kali seting, akhirnya dapat menemukan rumus yang tepat:
    Code:
    > /ip proxy cache print 
    Flags: X - disabled 
     #   DST-PORT                 DST-HOST           PATH           METHOD  ACTION HITS      
     0                                               /*\?*                  deny   1751      
     1                                               /cgi-bin/*             deny   2
    Dengan seting di atas akhirnya ke-4 url bisa ke-hit saat diakses dan tidak satu pun yang tersimpan di cache-contents.

    Nah, bagaimana untuk meng-deny cache hasil download ke situs seperti indowebster ? Misalnya contoh real:
    Sebelumnya kita harus mengetahui bahwa hanya properti path yang bisa diisi dengan regex. Kalau belum tahu apa itu regex silahkan baca .
    Ada beberapa strategi:
    1. Deny cache ke dst. host www11.indowebster.com
      Dst. Host=www11.indowebster.com
      Action=deny
    2. Deny cache ke dst. host www11.indowebster.com dengan object file mp3
      Dst. Host=www11.indowebster.com
      Path=/*mp3
      Action=deny
    3. Deny cache ke dst. address indowebster.com
      Dst. Address=119.110.64.0/20
      Action=deny
    4. Deny cache ke dst. host www1*.indowebster.com
      Dst. Host=www1*.indowebster.com
      Action=deny

    Yang nomor 4 akan memblok cache ke situs www1*.indowebster.com termasuk www11.indowebster.com. Di sini hanya bisa pakai wildcard, tidak bisa pakai regex. Dan kalau pakai pola seperti ini www*.indowebster.com berakibat semua akses ke akan kena juga tidak hanya www11.indowebster.com.

    Untuk lebih jelasnya lihat gambar di bawah:
    Click here to enlarge

    Update
    Click here to enlarge

    Terakhir, untuk memblok akses ke object virus conficker seperti yang pernah ditulis di sini:

    Adalah lebih baik kalau itu diblok aksesnya di sisi web proxy hanya jika proxy diset transparent. Caranya ?
    Code:
    /ip proxy access add path=/*loadadv.exe action=deny
    Dengan demikian hanya akses ke object loadadv.exe yang akan di-deny bukan content atau isi object yang mengandung "loadadv.exe" yang diblok.

    Tutorial ini saya buat setelah ubek-ubek google tidak menemukan panduan yang lengkap untuk buat rule ip proxy cache di mikrotik versi 3.x.
    Last edited by awarmanf; 01-12-2009 at 20:23. Reason: Nambahin cache rule

  2. The Following 43 Users Say Thank You to awarmanf For This Useful Post:

    + Show/Hide list of the thanked


  3. #2
    Status
    Offline
    Akangage's Avatar
    Administrator
    Join Date
    Aug 2007
    Location
    Daerah Khusus Ibukota Jakarta, Indonesia
    Posts
    4,188
    Reviews
    Read 0 Reviews
    Downloads
    210
    Uploads
    87
    Feedback Score
    0
    MANTAF abizzz gan Click here to enlarge

  4. #3
    Status
    Offline
    wrnet's Avatar
    Member
    Join Date
    Jan 2009
    Posts
    100
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    Thumbs up

    mantebh Om....tak coba ya

    Thank's

  5. #4
    Status
    Offline
    bonbon's Avatar
    Baru Gabung
    Join Date
    Nov 2009
    Posts
    13
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    waduh ..nggak ngerti itu regex boss, udah baca seh...apa maksudnya regex itu adalah "pengkodean" ?Click here to enlarge

  6. #5
    Status
    Offline
    bonbon's Avatar
    Baru Gabung
    Join Date
    Nov 2009
    Posts
    13
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    wah nggak ngerti itu regex boss, apa maksdunya "pengkodean" ya ? Click here to enlarge

  7. #6
    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
    good job bro Click here to enlarge


    saya coba boleh kan bro Click here to enlarge

  8. #7
    Status
    Offline
    henry's Avatar
    Member
    Join Date
    Mar 2008
    Location
    Jakarta
    Posts
    107
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    makasi gan mau lgsg ditest Click here to enlarge

  9. #8
    Status
    Offline
    awarmanf's Avatar
    Member
    Join Date
    Apr 2008
    Posts
    222
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by donipermono1982 Click here to enlarge
    good job bro Click here to enlarge


    saya coba boleh kan bro Click here to enlarge
    Silahkan bos. Dengan rule tersebut terbukti web proxy mikrotik v3.x lebih stabil, silahkan baca detailnya di sini
    Last edited by awarmanf; 21-12-2009 at 00:23. Reason: edit url

  10. #9
    Status
    Offline
    ifan07's Avatar
    Baru Gabung
    Join Date
    Dec 2009
    Posts
    1
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    a

    download nya di mana bosss

  11. #10
    Status
    Offline
    RB750's Avatar
    Calon Member
    Join Date
    Nov 2009
    Posts
    83
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    @atas


    download apaan?? Click here to enlargeClick here to enlarge

  12. #11
    Status
    Offline
    dingo's Avatar
    Member Super Senior
    Join Date
    Jan 2008
    Location
    Puncak Kesejukan
    Posts
    641
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    download miyabi kaleee.....lol
    Click here to enlargeClick here to enlarge

  13. #12
    Status
    Offline
    unavailabled's Avatar
    Member
    Join Date
    Dec 2008
    Location
    Mangle Prerouting
    Posts
    137
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by ifan07 Click here to enlarge
    download nya di mana bosss
    minta ma TS gan Click here to enlarge

  14. #13
    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
    Click here to enlarge Originally Posted by ifan07 Click here to enlarge
    download nya di mana bosss
    Click here to enlarge Originally Posted by RB750 Click here to enlarge
    @atas


    download apaan?? Click here to enlargeClick here to enlarge
    Click here to enlarge Originally Posted by dingo Click here to enlarge
    download miyabi kaleee.....lol
    Click here to enlargeClick here to enlarge
    Click here to enlarge Originally Posted by unavailabled Click here to enlarge
    minta ma TS gan Click here to enlarge
    Out Of Topic Click here to enlarge

  15. #14
    Status
    Offline
    unique_leader's Avatar
    Member Super Senior
    Join Date
    Jul 2007
    Posts
    637
    Reviews
    Read 0 Reviews
    Downloads
    5
    Uploads
    0
    Feedback Score
    1 (100%)

    share cache HIT dengan internal web proxy mikrotik

    Click here to enlarge


    ayo...ayo... yg mau share juga sekalian disini termasuk TS nya Click here to enlarge

  16. #15
    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
    Click here to enlarge Originally Posted by unique_leader Click here to enlarge
    Click here to enlarge


    ayo...ayo... yg mau share juga sekalian disini termasuk TS nya Click here to enlarge
    punya gw ga lebih dari 1 mb Click here to enlarge

 

 
Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. cache used > Max cache size di web proxy v3.22
    By awarmanf in forum General Networking
    Replies: 24
    Last Post: 25-12-2010, 10:03
  2. Setting Proxy For Game Cache, Video Cache and Http Cache?
    By rielove in forum General Networking
    Replies: 57
    Last Post: 28-11-2009, 18:17
  3. ASK:Automatic Disable Rule NAT ke Eksternal Proxy
    By sridjokoonline in forum Scripting @ Mikrotik
    Replies: 4
    Last Post: 06-09-2009, 00:36
  4. Tanya Rule di Firewall Buat Blok Kido-ih
    By rj-45 in forum General Networking
    Replies: 5
    Last Post: 01-06-2009, 11:21
  5. [tanya] Web Proxy rule tidak jalan
    By cahyono.l in forum Beginner Basics
    Replies: 1
    Last Post: 28-05-2009, 17:57

Posting Permissions

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