Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Results 1 to 4 of 4
  1. #1
    Status
    Offline
    seafer's Avatar
    Newbie
    Join Date
    Jul 2009
    Posts
    38
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    [ASK] cara melihat koneksi yang terjadi saat itu juga

    Para master dan suhu sekalian..

    SAya udah coba cari" di tutorial.. dan sedikit ubek-ubek google....
    tetapi blon nemu juga...

    para master.. ada yang tahu ngga cara mengetahui client kita tuh saat itu lagi terkoneksi kemana aja sih.. (bukan alamat IP tapi alamat situsnya) melalui mikrotik ??
    sebab ada beberapa user yang kadng mengahbiskan bandwith.. sedang kita mau putus koneksinya ngga berani sebab beliau lebih senior dari kita..

    Mohon bimbingan suhu sekalian... maklum masih anak kemaren sore...

  2. #2
    Status
    Offline
    tohizma's Avatar
    Newbie
    Join Date
    Jul 2009
    Posts
    34
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Dah banyak thread sama, silahkan baca ini...



    jangan lupa klik THANKS ya Click here to enlarge

  3. The Following 5 Users Say Thank You to tohizma For This Useful Post:


  4. #3
    Status
    Offline
    seafer's Avatar
    Newbie
    Join Date
    Jul 2009
    Posts
    38
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    BTW...
    saya ngga pakai webproxy tuh pak ?
    gimana yah ?

    btw.. THANKS yah...

  5. #4
    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 seafer Click here to enlarge
    Para master dan suhu sekalian..

    SAya udah coba cari" di tutorial.. dan sedikit ubek-ubek google....
    tetapi blon nemu juga...

    para master.. ada yang tahu ngga cara mengetahui client kita tuh saat itu lagi terkoneksi kemana aja sih.. (bukan alamat IP tapi alamat situsnya) melalui mikrotik ??
    sebab ada beberapa user yang kadng mengahbiskan bandwith.. sedang kita mau putus koneksinya ngga berani sebab beliau lebih senior dari kita..

    Mohon bimbingan suhu sekalian... maklum masih anak kemaren sore...
    Jangan diputus menurut saya gan, mendingan dimasukkan ke slot bandwidth yang kecil. Caranya begini:

    1. Buat address-list untuk menampung ip client yang mau dibatasi bandwidthnya, namakan ini limited.
    2. Buat ip firewall mangle untuk menandai paket2 dari dan ke src-address-list=limited, misal limited-down dan limited-up.
    3. Buat queue tree atau queue simple untuk menandai paket2 di atas.
    4. Jika ada client yang boros bandwidth, masukkan ip-nya ke list=limited
    5. Selesai


    Trik ini dibuat karena meski ip client sudah direject atau didrop di ip firewall filter tapi establish connection dia masih jalan terus akhirnya saya buat cara di atas, jadi koneksi dia tidak perlu didrop cuma bandwidthnya yang dicekik Click here to enlarge

    Code:
    /ip firewall address-list> print 
    Flags: X - disabled, D - dynamic 
     #   LIST                                       ADDRESS                        
     0   clients                                    192.168.1.0/24                
     1   router                                     192.168.1.1                 
     2   private-networks                           10.0.0.0/8                     
     3   private-networks                           172.16.0.0/12                  
     4   private-networks                           192.168.0.0/16                 
     5   ;;; DNS cache for ip private
         exceptions                                 172.17.1.0/30                  
     6   limited                                    192.168.1.43                  
     7   limited                                    192.168.1.163
    Code:
    /ip firewall mangle> print
     0   ;;; MARK PACKET local
         chain=prerouting action=mark-packet new-packet-mark=local passthrough=no 
         src-address-list=clients dst-address-list=router in-interface=ether1 
    
     1 X ;;; Mark cache hit
         chain=postrouting action=mark-packet new-packet-mark=cache-hit 
         passthrough=no protocol=tcp src-port=80 dscp=12 
    
     2   ;;; ICMP up
         chain=prerouting action=mark-packet new-packet-mark=icmp-up 
         passthrough=no protocol=icmp src-address-list=clients 
         in-interface=ether1 
    
     3   ;;; Limited up
         chain=prerouting action=mark-packet new-packet-mark=limited-up 
         passthrough=no src-address-list=limited in-interface=ether1 
    
     4   ;;; Clients up
         chain=prerouting action=mark-packet new-packet-mark=clients-up 
         passthrough=no src-address-list=clients in-interface=ether1 
    
     5   ;;; ICMP conn
         chain=forward action=mark-connection new-connection-mark=icmp-con 
         passthrough=no protocol=icmp in-interface=ether1 
    
     6   ;;; Limited conn
         chain=forward action=mark-connection new-connection-mark=limited-con 
         passthrough=no src-address-list=limited in-interface=ether1 
    
     7   ;;; Clients conn
         chain=forward action=mark-connection new-connection-mark=clients-con 
         passthrough=no src-address-list=!limited in-interface=ether1 
    
     8   ;;; ICMP down
         chain=forward action=mark-packet new-packet-mark=icmp-down 
         passthrough=no connection-mark=icmp-con 
    
     9   ;;; Cache-hit down for limited
         chain=forward action=mark-packet new-packet-mark=cache-hit-forward 
         passthrough=no protocol=tcp connection-mark=limited-con dscp=12 
    
    10   ;;; Limited down
         chain=forward action=mark-packet new-packet-mark=limited-down 
         passthrough=no connection-mark=limited-con 
    
    11   ;;; Cache-hit down for clients
         chain=forward action=mark-packet new-packet-mark=cache-hit-forward 
         passthrough=no protocol=tcp connection-mark=clients-con dscp=12 
    
    12   ;;; Clients down
         chain=forward action=mark-packet new-packet-mark=clients-down 
         passthrough=no connection-mark=clients-con
    Code:
    /queue tree> print 
    Flags: X - disabled, I - invalid 
     0   name="Download" parent=ether1 packet-mark="" limit-at=0 queue=default 
         priority=8 max-limit=256000 burst-limit=0 burst-threshold=0 
         burst-time=0s 
    
     1   name="Upload" parent=global-in packet-mark="" limit-at=64000 queue=defaul>
         priority=8 max-limit=128000 burst-limit=0 burst-threshold=0 
         burst-time=0s 
    
     2   name="clients-down" parent=Download packet-mark=clients-down 
         limit-at=128000 queue=pcq-download priority=8 max-limit=256000 
         burst-limit=0 burst-threshold=0 burst-time=0s 
    
     3   name="clients-up" parent=Upload packet-mark=clients-up limit-at=0 
         queue=pcq-upload priority=8 max-limit=128000 burst-limit=0 
         burst-threshold=0 burst-time=0s 
    
     4   name="icmp-down" parent=Download packet-mark=icmp-down limit-at=0 
         queue=pcq-download priority=4 max-limit=8000 burst-limit=0 
         burst-threshold=0 burst-time=0s 
    
     5   name="icmp-up" parent=Upload packet-mark=icmp-up limit-at=0 
         queue=pcq-upload priority=4 max-limit=8000 burst-limit=0 
         burst-threshold=0 burst-time=0s 
    
     6   name="limited-up" parent=Upload packet-mark=limited-up limit-at=0 
         queue=pcq-upload priority=8 max-limit=16000 burst-limit=0 
         burst-threshold=0 burst-time=0s 
    
     7   name="limited-down" parent=Download packet-mark=limited-down limit-at=0 
         queue=pcq-download priority=8 max-limit=16000 burst-limit=0 
         burst-threshold=0 burst-time=0s
    Last edited by awarmanf; 26-11-2009 at 17:47. Reason: mau masukin rulenya

  6. The Following User Says Thank You to awarmanf For This Useful Post:


 

 

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 16
    Last Post: 16-07-2010, 02:31
  2. Ada yang bisa menjelaskan apa yang terjadi??
    By yiezra in forum General Networking
    Replies: 15
    Last Post: 24-03-2009, 12:57
  3. [HELP]Melihat user yang sedang online
    By joniquest in forum Scripting @ Mikrotik
    Replies: 8
    Last Post: 29-11-2008, 03:34

Posting Permissions

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