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 21
  1. #1
    Status
    Offline
    hermawan_fsi's Avatar
    Newbie
    Join Date
    Apr 2010
    Posts
    31
    Reviews
    Read 0 Reviews
    Downloads
    1
    Uploads
    0
    Feedback Score
    0

    Hit traffic from proxy

    mau nanya kenapa hit traffic nya ngak mau kebaca yach.. dah cari cari di forum ngak nemu jawabannya.
    HTML Code:
    [CODE]0   ;;; HIT TRAFFIC FROM PROXY
         chain=output action=mark-packet new-packet-mark=proxy-hit passthrough=no out-interface=lan dscp=4 
     1   ;;; UP TRAFFIC
         chain=prerouting action=mark-packet new-packet-mark=test-up passthrough=no src-address=192.168.2.0/24 in-interface=lan 
     2   ;;; CONN-MARK
         chain=forward action=mark-connection new-connection-mark=test-conn passthrough=yes src-address=192.168.2.0/24 
     3   ;;; DOWN DIRECT CONNECTION
         chain=forward action=mark-packet new-packet-mark=test-down passthrough=no in-interface=public connection-mark=test-conn 
     4   ;;; DOWN VIA PROXY
         chain=output action=mark-packet new-packet-mark=test-down passthrough=no dst-address=192.168.2.0/24 out-interface=lan 
    [/CODE]
    ini proxy nya
    Code:
    [admin@MikroTik] > ip proxy print  
                     enabled: yes
                 src-address: 0.0.0.0
                        port: 8080
                parent-proxy: 192.168.5.5
           parent-proxy-port: 3128
         cache-administrator: ""
              max-cache-size: unlimited
               cache-on-disk: yes
      max-client-connections: 600
      max-server-connections: 600
              max-fresh-time: 3h
       serialize-connections: no
           always-from-cache: yes
              cache-hit-dscp: 4
                 cache-drive: system
    posisi ubuntu saya adalah mktik sejajar dengan ubuntu.
    dan ini nat nya
    HTML Code:
     2   ;;; ubuntu
         chain=dstnat action=dst-nat to-addresses=192.168.5.5 to-ports=3128 protocol=tcp src-address=192.168.2.0/24 dst-port=80,8080,3128 
     3   chain=dstnat action=dst-nat to-addresses=192.168.5.5 to-ports=3128 protocol=tcp src-address=!192.168.5.0/24 dst-port=80,8080,3128 
     4   chain=srcnat action=masquerade out-interface=public
    Last edited by hermawan_fsi; 12-12-2010 at 22:52.

  2. #2
    Status
    Offline
    oktama's Avatar
    Forum Guru
    Join Date
    Jul 2008
    Location
    Jayapura
    Posts
    1,929
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by hermawan_fsi Click here to enlarge
    mau nanya kenapa hit traffic nya ngak mau kebaca yach.. dah cari cari di forum ngak nemu jawabannya.
    HTML Code:
    [CODE]0   ;;; HIT TRAFFIC FROM PROXY
         chain=output action=mark-packet new-packet-mark=proxy-hit passthrough=no out-interface=lan dscp=4 
     1   ;;; UP TRAFFIC
         chain=prerouting action=mark-packet new-packet-mark=test-up passthrough=no src-address=192.168.2.0/24 in-interface=lan 
     2   ;;; CONN-MARK
         chain=forward action=mark-connection new-connection-mark=test-conn passthrough=yes src-address=192.168.2.0/24 
     3   ;;; DOWN DIRECT CONNECTION
         chain=forward action=mark-packet new-packet-mark=test-down passthrough=no in-interface=public connection-mark=test-conn 
     4   ;;; DOWN VIA PROXY
         chain=output action=mark-packet new-packet-mark=test-down passthrough=no dst-address=192.168.2.0/24 out-interface=lan 
    [/CODE]
    ini proxy nya
    Code:
    [admin@MikroTik] > ip proxy print  
                     enabled: yes
                 src-address: 0.0.0.0
                        port: 8080
                parent-proxy: 192.168.5.5
           parent-proxy-port: 3128
         cache-administrator: ""
              max-cache-size: unlimited
               cache-on-disk: yes
      max-client-connections: 600
      max-server-connections: 600
              max-fresh-time: 3h
       serialize-connections: no
           always-from-cache: yes
              cache-hit-dscp: 4
                 cache-drive: system
    posisi ubuntu saya adalah mktik sejajar dengan ubuntu.
    dan ini nat nya
    HTML Code:
     2   ;;; ubuntu
         chain=dstnat action=dst-nat to-addresses=192.168.5.5 to-ports=3128 protocol=tcp src-address=192.168.2.0/24 dst-port=80,8080,3128 
     3   chain=dstnat action=dst-nat to-addresses=192.168.5.5 to-ports=3128 protocol=tcp src-address=!192.168.5.0/24 dst-port=80,8080,3128 
     4   chain=srcnat action=masquerade out-interface=public
    Click here to enlargeClick here to enlarge

    gan hit dari proxy ubuntu sendiri diset berapa dscp-nya? trus tuh nat muter2 ya? perasaan dah pernah sy sampaikan deh dithread satunya Click here to enlargeClick here to enlarge

  3. #3
    Status
    Offline
    hermawan_fsi's Avatar
    Newbie
    Join Date
    Apr 2010
    Posts
    31
    Reviews
    Read 0 Reviews
    Downloads
    1
    Uploads
    0
    Feedback Score
    0
    zph_option 136
    zph_mode tos
    zph_local 0x30
    zph_parent 0

    dscp nya yang mana yach karena sy ngikutin tutorial di tulis spt itu di paling bawah squid.conf
    .. trus soal nat, sy dah bolak balik ganti setting cuman nat ini yang bisa jalan,
    memang sy sempet baca di tutorial faisal tentang squid plus mktik, tapi ngak komplet menurut sy Click here to enlarge
    fyi
    port mikrotik
    port 1 ke WAN
    port 2 ke LAN
    port 3 ke PROXY UBUNTU.
    Last edited by hermawan_fsi; 13-12-2010 at 03:46.

  4. #4
    Status
    Offline
    adiputrolds's Avatar
    Forum Guru
    Join Date
    Oct 2008
    Posts
    1,485
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by hermawan_fsi Click here to enlarge
    Code:
    0   ;;; HIT TRAFFIC FROM PROXY
         chain=output action=mark-packet new-packet-mark=proxy-hit passthrough=no out-interface=lan dscp=4
    HIT proxy external kok pakek chain=output ???
    ganti ke forward atau postrouting

    kamu kan pakek zph_local = 0x30 , dscp nya bukan 4 , tapi pakek 12

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


  6. #5
    Status
    Offline
    hermawan_fsi's Avatar
    Newbie
    Join Date
    Apr 2010
    Posts
    31
    Reviews
    Read 0 Reviews
    Downloads
    1
    Uploads
    0
    Feedback Score
    0
    makasih banyak udah bisa, postrouting, kemarin sy coba gitu juga mungkin agak lama kali yach refresh nya.. sy pikir langsung counting gitu ngak tahu mesti nunggu sebentar baru jalan.. Click here to enlarge

    bisa di jelaskan ngak 0X30 kok di dscp nya menjadi 12 itu dari mana yach...

    case closed Click here to enlarge

  7. #6
    Status
    Offline
    adiputrolds's Avatar
    Forum Guru
    Join Date
    Oct 2008
    Posts
    1,485
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    ubah Hexa ke binner 0x30 = 30(hex) = 110000(bin)
    buang 2 dikit terakhir = 1100(bin)
    ubah menjadi desimal 1100(bin) = 12(dec)

    tos 0x30(hex) = dscp 12(dec)

  8. #7
    Status
    Offline
    hermawan_fsi's Avatar
    Newbie
    Join Date
    Apr 2010
    Posts
    31
    Reviews
    Read 0 Reviews
    Downloads
    1
    Uploads
    0
    Feedback Score
    0
    makasih atas info nya.. kenapa sekarang masuk ke terminal mikrotik lambret banget yach.. lama banget.. kayak hang gitu..

  9. #8
    Status
    Offline
    adiputrolds's Avatar
    Forum Guru
    Join Date
    Oct 2008
    Posts
    1,485
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    bedakan traffic bypass dengan traffic QOS

  10. #9
    Status
    Offline
    hermawan_fsi's Avatar
    Newbie
    Join Date
    Apr 2010
    Posts
    31
    Reviews
    Read 0 Reviews
    Downloads
    1
    Uploads
    0
    Feedback Score
    0
    nanya tambahan gimana cara by pass ip tertentu, ip range lan sy itu 192.168.2.0/24 nach yang sy pengen bypass itu ip 192.168.2.100, dan itu ngak lwat proxy dan ngak di batesin bw nya.. di mikrotik.

    thanks.Click here to enlarge

  11. #10
    Status
    Offline
    adiputrolds's Avatar
    Forum Guru
    Join Date
    Oct 2008
    Posts
    1,485
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    nanya terus gk pernah ngasih THANX
    silahkan sendiri

  12. The Following 3 Users Say Thank You to adiputrolds For This Useful Post:


  13. #11
    Status
    Offline
    uburcumi's Avatar
    :: Gw Banget Cing ::
    Join Date
    Jun 2009
    Location
    www.mikrotikservice.net
    Posts
    2,281
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    2 (100%)
    Click here to enlarge Originally Posted by electrix_85 Click here to enlarge
    nanya terus gk pernah ngasih THANX
    silahkan sendiri
    Click here to enlarge setujuuuu Click here to enlarge

  14. The Following User Says Thank You to uburcumi For This Useful Post:


  15. #12
    Status
    Offline
    vensa_rockoff's Avatar
    Newbie
    Join Date
    Dec 2008
    Posts
    24
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by electrix_85 Click here to enlarge
    nanya terus gk pernah ngasih THANX
    silahkan sendiri
    Click here to enlarge Mantab gan...........Click here to enlarge

  16. #13
    Status
    Offline
    adiputrolds's Avatar
    Forum Guru
    Join Date
    Oct 2008
    Posts
    1,485
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by uburcumi Click here to enlarge
    Click here to enlarge setujuuuu Click here to enlarge
    Click here to enlargeClick here to enlarge

  17. #14
    Status
    Offline
    hermawan_fsi's Avatar
    Newbie
    Join Date
    Apr 2010
    Posts
    31
    Reviews
    Read 0 Reviews
    Downloads
    1
    Uploads
    0
    Feedback Score
    0
    khan dah di tulis makasih banyak atas bantuannya.. biasanya di forum khan ada tombol thanks.. lah ini ngak ada.. terus makasih gimana bro..
    khan yang bantuin solusi nya banyak.Click here to enlarge

  18. #15
    Status
    Offline
    adhielesmana's Avatar
    Administrator
    Join Date
    Jan 2009
    Location
    http://www.adhielesmana.com
    Posts
    3,054
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by hermawan_fsi Click here to enlarge
    khan dah di tulis makasih banyak atas bantuannya.. biasanya di forum khan ada tombol thanks.. lah ini ngak ada.. terus makasih gimana bro..
    khan yang bantuin solusi nya banyak.Click here to enlarge
    lha ini Click here to enlarge bukanya tombol thanks... Click here to enlarge

    minum wortel dulu yang banyak.. atau beli laptop yang ada fasilitas zoomnya... biar kelihatan

  19. The Following User Says Thank You to adhielesmana For This Useful Post:


 

 
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. mangle dscp/tos ga ada traffic
    By dondon in forum Beginner Basics
    Replies: 15
    Last Post: 11-03-2010, 13:32
  2. RB433AH traffic problem
    By kubby in forum Wireless Networking
    Replies: 2
    Last Post: 08-03-2010, 00:47
  3. Mikrotik and SNMP traffic
    By dv1000 in forum General Networking
    Replies: 1
    Last Post: 23-07-2008, 12:55

Posting Permissions

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