<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-967688800467567679</id><updated>2012-02-16T11:24:28.003-08:00</updated><title type='text'>Be your Self</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://alfaqiir-net.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/967688800467567679/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://alfaqiir-net.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>faqiir</name><uri>http://www.blogger.com/profile/05309627903506103569</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-967688800467567679.post-3625873214263128191</id><published>2009-12-15T11:53:00.000-08:00</published><updated>2009-12-17T00:48:52.336-08:00</updated><title type='text'>Implementation PCQ at MIKROTIK</title><content type='html'>seting mangle&lt;br /&gt;/ip firewall Address List add CLIENT&lt;br /&gt;make list for client&lt;br /&gt;&lt;br /&gt;for upload&lt;br /&gt;chain=prerouting in-interface=local src-address-list=CLIENT action=mark-packet new-packet-mark=client-up passthrough=no&lt;br /&gt;&lt;br /&gt;for download&lt;br /&gt;chain=forward src-address-list=CLIENT action=mark-connection new-connection-mark=client-conn passthrough=yes&lt;br /&gt;&lt;br /&gt;/ip firewall mangle add chain=forward connection-mark=personal-conn in-interface=Public action=mark-packet new-packet-mark=client-down passthrough=no&lt;br /&gt;&lt;br /&gt;make queue&lt;br /&gt;/queue tree add name=down parent=Local queue=default&lt;br /&gt;/queue tree add name=up parent=global-in queue=default&lt;br /&gt;&lt;br /&gt;/queue type add name=auto-down kind=pcq pcq-rate=0 pcq-classifier=dst-address pcq-total-limit=2000&lt;br /&gt;/queue type add name=auto-up kind=pcq rate=0 pcq-classifier=src-address pcq-total-limit=2000&lt;br /&gt;&lt;br /&gt;/queue tree add name=per-down packet-mark=personal-down parent=down queue=auto-down max-limit=384k&lt;br /&gt;/queue tree add name=per-up parent=up packet-mark=personal-up queue=auto-up max-limit=64k&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/967688800467567679-3625873214263128191?l=alfaqiir-net.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alfaqiir-net.blogspot.com/feeds/3625873214263128191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=967688800467567679&amp;postID=3625873214263128191' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/967688800467567679/posts/default/3625873214263128191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/967688800467567679/posts/default/3625873214263128191'/><link rel='alternate' type='text/html' href='http://alfaqiir-net.blogspot.com/2009/12/implementation-pcq-at-mikrotik.html' title='Implementation PCQ at MIKROTIK'/><author><name>faqiir</name><uri>http://www.blogger.com/profile/05309627903506103569</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-967688800467567679.post-3136516514440225175</id><published>2009-12-13T06:08:00.000-08:00</published><updated>2009-12-13T06:13:21.925-08:00</updated><title type='text'>Queue with Masquerading and Internal Web-Proxy</title><content type='html'>&lt;span style="font-size:130%;"&gt;Its Just for my dokumen and reference&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;h2&gt; &lt;span class="mw-headline"  style="font-size:130%;"&gt; Introduction&lt;/span&gt;&lt;/h2&gt; &lt;p&gt;&lt;span style="font-size:130%;"&gt;This page will talk about how to make a QUEUE TREE in RouterOS that is also running Web-Proxy and Masquerading. Several topics in the Forum say that it's impossible to do.  &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;In version 2.9.x, we can not determine which traffic is HIT and which traffic is MISS from web-proxy. Several people want to make a configuration, to let cache data in proxy (HIT traffic) deliver in maximum possible speed. In other word, if we already have the requested data, those process will not queued. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;In ver 3.0 we can do this, using TOS header modification in web-proxy feature. We can set any TOS value for the HIT traffic, and make it as a parameter in mangle. &lt;/span&gt;&lt;/p&gt; &lt;span style="font-size:130%;"&gt;&lt;a name="Basic_Setup" id="Basic_Setup"&gt;&lt;/a&gt;&lt;/span&gt;&lt;h2&gt; &lt;span class="mw-headline"  style="font-size:130%;"&gt; Basic Setup&lt;/span&gt;&lt;/h2&gt; &lt;p&gt;&lt;span style="font-size:130%;"&gt;First, let's set the basic setting first. I'm using a machine with 2 network interface: &lt;/span&gt;&lt;/p&gt; &lt;pre&gt;&lt;span style="font-size:130%;"&gt;admin@instaler] &gt; in pr&lt;br /&gt;#    NAME       TYPE    RX-RATE    TX-RATE    MTU&lt;br /&gt;0  R public     ether   0          0          1500&lt;br /&gt;1  R lan        wlan    0          0          1500&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt; &lt;p&gt;&lt;span style="font-size:130%;"&gt;And this is the IP Address for each interface: &lt;/span&gt;&lt;/p&gt; &lt;pre&gt;&lt;span style="font-size:130%;"&gt;[admin@instaler] &gt; ip ad pr&lt;br /&gt;Flags: X - disabled, I - invalid, D - dynamic&lt;br /&gt;#  ADDRESS           NETWORK      BROADCAST      INTERFACE&lt;br /&gt;0  192.168.0.217/24  192.168.0.0  192.168.0.255  public&lt;br /&gt;1  172.21.1.1/24     172.21.1.0   172.21.1.255   lan&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt; &lt;p&gt;&lt;span style="font-size:130%;"&gt;Don't forget to set the transparant web-proxy. We set cache-hit-dscp: 4. &lt;/span&gt;&lt;/p&gt; &lt;pre&gt;&lt;span style="font-size:130%;"&gt;[admin@instaler] &gt; ip proxy pr&lt;br /&gt;                 enabled: yes&lt;br /&gt;             src-address: 0.0.0.0&lt;br /&gt;                    port: 3128&lt;br /&gt;            parent-proxy: 0.0.0.0&lt;br /&gt;       parent-proxy-port: 0&lt;br /&gt;             cache-drive: system&lt;br /&gt;     cache-administrator: "webmaster"&lt;br /&gt;          max-cache-size: none&lt;br /&gt;           cache-on-disk: yes&lt;br /&gt;maximal-client-connections: 600&lt;br /&gt;maximal-server-connections: 600&lt;br /&gt;          max-fresh-time: 3d&lt;br /&gt;   serialize-connections: yes&lt;br /&gt;          cache-hit-dscp: 4&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt; &lt;span style="font-size:130%;"&gt;&lt;a name="Firewall_NAT" id="Firewall_NAT"&gt;&lt;/a&gt;&lt;/span&gt;&lt;h2&gt; &lt;span class="mw-headline"  style="font-size:130%;"&gt;Firewall NAT&lt;/span&gt;&lt;/h2&gt; &lt;p&gt;&lt;span style="font-size:130%;"&gt;Make 2 NAT rules, 1 for Masquerading, and the other for redirecting transparant proxy. &lt;/span&gt;&lt;/p&gt; &lt;pre&gt;&lt;span style="font-size:130%;"&gt;[admin@instaler] ip firewall nat&gt; pr&lt;br /&gt;Flags: X - disabled, I - invalid, D - dynamic&lt;br /&gt;0   chain=srcnat out-interface=public&lt;br /&gt; src-address=172.21.1.0/24 action=masquerade&lt;br /&gt;1   chain=dstnat in-interface=lan src-address=172.21.1.0/24&lt;br /&gt; protocol=tcp dst-port=80 action=redirect to-ports=3128&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt; &lt;span style="font-size:130%;"&gt;&lt;a name="Mangle_Setup" id="Mangle_Setup"&gt;&lt;/a&gt;&lt;/span&gt;&lt;h2&gt; &lt;span class="mw-headline"  style="font-size:130%;"&gt;Mangle Setup&lt;/span&gt;&lt;/h2&gt; &lt;p&gt;&lt;span style="font-size:130%;"&gt;And now is the most important part in this case. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;If we want to make HIT traffic from web proxy not queued, we have to make a mangle to handle this traffic. Put this rule on the beginning of the mangle, as it will check first. &lt;/span&gt;&lt;/p&gt; &lt;pre&gt;&lt;span style="font-size:130%;"&gt;[admin@instaler] &gt; ip firewall mangle print&lt;br /&gt;Flags: X - disabled, I - invalid, D - dynamic&lt;br /&gt;0   ;;; HIT TRAFFIC FROM PROXY&lt;br /&gt; chain=output out-interface=lan&lt;br /&gt; dscp=4 action=mark-packet&lt;br /&gt; new-packet-mark=proxy-hit passthrough=no&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt; &lt;p&gt;&lt;span style="font-size:130%;"&gt;As we will make Queue for uplink and downlink traffic, we need 2 packet-mark. In this example, we use "test-up" for uplink traffic, and "test-down" for downlink traffic. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;For uplink traffic, it's quite simple. We need only one rule, using SRC-ADDRESS and IN-INTERFACE parameters, and using PREROUTING chain. Rule number #1. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;But for downlink, we have to make sevaral rules. As we use masquerading, we need Connection Mark, named as "test-conn". Rule no #2. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;Then we have to make 2 more rules. First rule is for non-HTTP connection / direct connection. We use chain forward, as the data traveling through the router. Rule no #3. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;The second rule is for data coming from web-proxy to the client (MISS traffic). We use OUTPUT chain, as the data coming from internal process in the router itself. Rule no #4. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;For both rules (no #3 and #4) we named it "test-down". &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;Please be aware, we use passthrough only for connection mark (rule no #2). &lt;/span&gt;&lt;/p&gt; &lt;pre&gt;&lt;span style="font-size:130%;"&gt;[admin@instaler] &gt; ip firewall mangle print&lt;br /&gt;Flags: X - disabled, I - invalid, D - dynamic&lt;br /&gt;1   ;;; UP TRAFFIC&lt;br /&gt; chain=prerouting in-interface=lan&lt;br /&gt; src-address=172.21.1.0/24 action=mark-packet&lt;br /&gt; new-packet-mark=test-up passthrough=no&lt;br /&gt;&lt;br /&gt;2   ;;; CONN-MARK&lt;br /&gt; chain=forward src-address=172.21.1.0/24&lt;br /&gt; action=mark-connection&lt;br /&gt; new-connection-mark=test-conn passthrough=yes&lt;br /&gt;&lt;br /&gt;3   ;;; DOWN-DIRECT CONNECTION&lt;br /&gt; chain=forward in-interface=public&lt;br /&gt; connection-mark=test-conn action=mark-packet&lt;br /&gt; new-packet-mark=test-down passthrough=no&lt;br /&gt;&lt;br /&gt;4   ;;; DOWN-VIA PROXY&lt;br /&gt; chain=output out-interface=lan&lt;br /&gt; dst-address=172.21.1.0/24 action=mark-packet&lt;br /&gt; new-packet-mark=test-down passthrough=no&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt; &lt;span style="font-size:130%;"&gt;&lt;a name="Queue_Tree_Setup" id="Queue_Tree_Setup"&gt;&lt;/a&gt;&lt;/span&gt;&lt;h2&gt; &lt;span class="mw-headline"  style="font-size:130%;"&gt;Queue Tree Setup&lt;/span&gt;&lt;/h2&gt; &lt;p&gt;&lt;span style="font-size:130%;"&gt;And now, the queue tree setting. We need one rule for downlink and one rule for uplink. Be careful when choosing the parent. for downlink traffic, we use parent "lan", the interface name for local network. And for uplink, we are using parent "global-in". &lt;/span&gt;&lt;/p&gt; &lt;pre&gt;&lt;span style="font-size:130%;"&gt;[admin@instaler] &gt; queue tree pr&lt;br /&gt;Flags: X - disabled, I - invalid&lt;br /&gt;0   name="downstream" parent=lan packet-mark=test-down&lt;br /&gt; limit-at=32000 queue=default priority=8&lt;br /&gt; max-limit=32000 burst-limit=0&lt;br /&gt; burst-threshold=0 burst-time=0s&lt;br /&gt;&lt;br /&gt;1   name="upstream" parent=global-in&lt;br /&gt; packet-mark=test-up limit-at=32000&lt;br /&gt; queue=default priority=8&lt;br /&gt; max-limit=32000 burst-limit=0&lt;br /&gt; burst-threshold=0 burst-time=0s&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt; &lt;p&gt;&lt;span style="font-size:130%;"&gt;You can use those mangle also with PCQ.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;source:wiki.mikrotik.com&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/967688800467567679-3136516514440225175?l=alfaqiir-net.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alfaqiir-net.blogspot.com/feeds/3136516514440225175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=967688800467567679&amp;postID=3136516514440225175' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/967688800467567679/posts/default/3136516514440225175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/967688800467567679/posts/default/3136516514440225175'/><link rel='alternate' type='text/html' href='http://alfaqiir-net.blogspot.com/2009/12/queue-with-masquerading-and-internal.html' title='Queue with Masquerading and Internal Web-Proxy'/><author><name>faqiir</name><uri>http://www.blogger.com/profile/05309627903506103569</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-967688800467567679.post-9156610371818680732</id><published>2008-04-25T05:19:00.000-07:00</published><updated>2009-11-26T04:17:02.531-08:00</updated><title type='text'>Delay pool di Mikrotik</title><content type='html'>pertama yg dibuat untuk membuat delay pool di mikrotik ini kita tambahkan di&lt;br /&gt;&lt;br /&gt;/ip firewall Address List add download&lt;br /&gt;&lt;br /&gt;/ip firewall filter add chain=forward \&lt;br /&gt;&lt;br /&gt;src-address=192.168.0.0/24 protocol=tcp content=.zip \&lt;br /&gt;&lt;br /&gt;action=add-dst-to-address-list address-list=downloads \&lt;br /&gt;&lt;br /&gt;address-list-timeout=01:00:00&lt;br /&gt;&lt;br /&gt;/ip firewall filter add chain=forward \&lt;br /&gt;&lt;br /&gt;src-address=192.168.0.0/24 protocol=tcp content=.exe \&lt;br /&gt;&lt;br /&gt;action=add-dst-to-address-list address-list=downloads \&lt;br /&gt;&lt;br /&gt;address-list-timeout=01:00:00&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/ip firewall mangle add chain=forward \&lt;br /&gt;&lt;br /&gt;protocol=tcp src-address-list=downloads \&lt;br /&gt;&lt;br /&gt;action=mark-packet new-packet-mark=download-paket passtrough=no&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/queue simple add name=download-files \&lt;br /&gt;&lt;br /&gt;max-limit=64000/64000 packet-marks=download-paket&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/967688800467567679-9156610371818680732?l=alfaqiir-net.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alfaqiir-net.blogspot.com/feeds/9156610371818680732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=967688800467567679&amp;postID=9156610371818680732' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/967688800467567679/posts/default/9156610371818680732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/967688800467567679/posts/default/9156610371818680732'/><link rel='alternate' type='text/html' href='http://alfaqiir-net.blogspot.com/2008/04/delay-pool-di-mikrotik.html' title='Delay pool di Mikrotik'/><author><name>faqiir</name><uri>http://www.blogger.com/profile/05309627903506103569</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-967688800467567679.post-3704166052573203187</id><published>2008-04-15T10:02:00.000-07:00</published><updated>2008-04-15T10:10:56.041-07:00</updated><title type='text'>Server Gateway Linux</title><content type='html'>Untuk membuat sebuah server gateway di butuhkan  script seperti dibawah ini:&lt;br /&gt;touch rc.firewall&lt;br /&gt;chmod +x rc.firewall ---&gt; mengaktifkan rc.firewall&lt;br /&gt;&lt;br /&gt;mcedit /etc/rc.d/rc.firewall&lt;br /&gt;&lt;br /&gt;isi rc.firewall&lt;br /&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;IPT=`which iptables`&lt;br /&gt;SQUID=`which squid`&lt;br /&gt;PORT_SQUID="3128"&lt;br /&gt;OUT_IFACE="Eth0"&lt;br /&gt;&lt;br /&gt;$IPT -t nat -A PREROUTING -p tcp --dport80 -j REDIRECT --toport$PORT_SQUID&lt;br /&gt;$IPT -t nat -A POSTROUTING -o $OUT_IFACE -j MASQUERADE&lt;br /&gt;&lt;br /&gt;Setelah selesai membuat file rc.firewall kemudian install squid&lt;br /&gt;&lt;br /&gt;to be continued.................&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/967688800467567679-3704166052573203187?l=alfaqiir-net.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alfaqiir-net.blogspot.com/feeds/3704166052573203187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=967688800467567679&amp;postID=3704166052573203187' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/967688800467567679/posts/default/3704166052573203187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/967688800467567679/posts/default/3704166052573203187'/><link rel='alternate' type='text/html' href='http://alfaqiir-net.blogspot.com/2008/04/server-gateway-linux.html' title='Server Gateway Linux'/><author><name>faqiir</name><uri>http://www.blogger.com/profile/05309627903506103569</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-967688800467567679.post-4429838680887594986</id><published>2008-03-16T03:11:00.000-07:00</published><updated>2008-03-16T03:14:28.886-07:00</updated><title type='text'>Equal bandwidth sharing among users</title><content type='html'>Equal bandwidth sharing among users&lt;br /&gt;This example shows how to equally share 10Mibps download and 2Mibps upload among active users in the network 192.168.0.0/24. If Host A is downloading 2 Mibps, Host B gets 8 Mibps and vice versa. There might be situations when both hosts want to use maximum bandwidth (10 Mibps), then they will receive 5 Mibps each, the same goes for upload. This setup is also valid for more than 2 users.&lt;br /&gt; &lt;br /&gt;At first, mark all traffic, coming from local network 192.168.0.0/24 with a mark users:&lt;br /&gt;/ip firewall mangle add chain=forward src-address=192.168.0.0/24 \&lt;br /&gt;   action=mark-connection new-connection-mark=users-con&lt;br /&gt;/ip firewall mangle add connection-mark=users-con action=mark-packet \&lt;br /&gt;   new-packet-mark=users chain=forward&lt;br /&gt;Now we will add 2 new PCQ types. The first, called pcq-download will group all traffic by destination address. As we will attach this queue type to the Local interface, it will create a dynamic queue for each destination address (user) which is downloading to the network 192.168.0.0/24. The second type, called pcq-upload will group the traffic by source address. We will attach this queue to the Public interface so it will make one dynamic queue for each user who is uploading to Internet from the local network 192.168.0.0/24.&lt;br /&gt;/queue type add name=pcq-download kind=pcq pcq-classifier=dst-address&lt;br /&gt;/queue type add name=pcq-upload kind=pcq pcq-classifier=src-address&lt;br /&gt;Finally, make a queue tree for download traffic:&lt;br /&gt;/queue tree add name=Download parent=Local max-limit=10240000&lt;br /&gt;/queue tree add parent=Download queue=pcq-download packet-mark=users&lt;br /&gt;And for upload traffic:&lt;br /&gt;/queue tree add name=Upload parent=Public max-limit=2048000&lt;br /&gt;/queue tree add parent=Upload queue=pcq-upload packet-mark=users&lt;br /&gt;Note! If your ISP cannot guarantee you a fixed amount of traffic, you can use just one queue for upload and one for download, attached directly to the interface:&lt;br /&gt;/queue tree add parent=Local queue=pcq-download packet-mark=users&lt;br /&gt;/queue tree add parent=Public queue=pcq-upload packet-mark=users&lt;br /&gt;&lt;br /&gt;Source : mikrotik.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/967688800467567679-4429838680887594986?l=alfaqiir-net.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alfaqiir-net.blogspot.com/feeds/4429838680887594986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=967688800467567679&amp;postID=4429838680887594986' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/967688800467567679/posts/default/4429838680887594986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/967688800467567679/posts/default/4429838680887594986'/><link rel='alternate' type='text/html' href='http://alfaqiir-net.blogspot.com/2008/03/equal-bandwidth-sharing-among-users.html' title='Equal bandwidth sharing among users'/><author><name>faqiir</name><uri>http://www.blogger.com/profile/05309627903506103569</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-967688800467567679.post-8269271553570289550</id><published>2007-08-07T18:30:00.000-07:00</published><updated>2008-12-09T21:14:07.769-08:00</updated><title type='text'>Sreenshot Zencafe</title><content type='html'>Loading Zencafe&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_L1293HWljo0/Rrkt1j31KFI/AAAAAAAAACM/8c8_VEHSsBI/s1600-h/zenwal.JPEG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_L1293HWljo0/Rrkt1j31KFI/AAAAAAAAACM/8c8_VEHSsBI/s320/zenwal.JPEG" border="0" alt=""id="BLOGGER_PHOTO_ID_5096154851532154962" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Login Zencafe&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_L1293HWljo0/RrknOz31KCI/AAAAAAAAAB0/rYw2SSp_buM/s1600-h/login.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_L1293HWljo0/RrknOz31KCI/AAAAAAAAAB0/rYw2SSp_buM/s320/login.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5096147588742457378" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Dekstop Zencafe&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_L1293HWljo0/Rrklvz31KBI/AAAAAAAAABs/LfbPQafhm94/s1600-h/dekzen.JPEG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_L1293HWljo0/Rrklvz31KBI/AAAAAAAAABs/LfbPQafhm94/s320/dekzen.JPEG" border="0" alt=""id="BLOGGER_PHOTO_ID_5096145956654884882" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/967688800467567679-8269271553570289550?l=alfaqiir-net.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alfaqiir-net.blogspot.com/feeds/8269271553570289550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=967688800467567679&amp;postID=8269271553570289550' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/967688800467567679/posts/default/8269271553570289550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/967688800467567679/posts/default/8269271553570289550'/><link rel='alternate' type='text/html' href='http://alfaqiir-net.blogspot.com/2007/08/sreenshot-zencafe.html' title='Sreenshot Zencafe'/><author><name>faqiir</name><uri>http://www.blogger.com/profile/05309627903506103569</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_L1293HWljo0/Rrkt1j31KFI/AAAAAAAAACM/8c8_VEHSsBI/s72-c/zenwal.JPEG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-967688800467567679.post-2724014409248588250</id><published>2007-06-25T22:56:00.000-07:00</published><updated>2008-12-09T21:14:07.931-08:00</updated><title type='text'></title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_L1293HWljo0/RoCqyYS_nmI/AAAAAAAAAAM/XiJ6xgsDeVM/s1600-h/sp3.jpg"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_L1293HWljo0/RoCqyYS_nmI/AAAAAAAAAAM/XiJ6xgsDeVM/s200/sp3.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5080248162166218338" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/967688800467567679-2724014409248588250?l=alfaqiir-net.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alfaqiir-net.blogspot.com/feeds/2724014409248588250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=967688800467567679&amp;postID=2724014409248588250' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/967688800467567679/posts/default/2724014409248588250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/967688800467567679/posts/default/2724014409248588250'/><link rel='alternate' type='text/html' href='http://alfaqiir-net.blogspot.com/2007/06/blog-post_25.html' title=''/><author><name>faqiir</name><uri>http://www.blogger.com/profile/05309627903506103569</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_L1293HWljo0/RoCqyYS_nmI/AAAAAAAAAAM/XiJ6xgsDeVM/s72-c/sp3.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-967688800467567679.post-3545649624465557541</id><published>2007-06-24T00:11:00.001-07:00</published><updated>2007-06-29T18:51:04.516-07:00</updated><title type='text'>Download ZenCafe Linux</title><content type='html'>This Zencafe version utilizes the new Zenwalk distro and kernel 2.6.20. Mainly design to use for Internet Cafe desktop, Zencafe polished in many ways and easy enough to operated, even for no technical background user. Included autorecovery and internet cafe management software, Zencafe is the best and the first Linux solution that suitable for your internet cafe.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://zencafe.blog.or.id/zencafe-1.0.iso"&gt;Zencafe 1.0&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.sjafri.com/zencafe-1.0.iso"&gt;mirror_1&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.megaupload.com/?d=9SLVEKD7"&gt;Mirror_2&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/967688800467567679-3545649624465557541?l=alfaqiir-net.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alfaqiir-net.blogspot.com/feeds/3545649624465557541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=967688800467567679&amp;postID=3545649624465557541' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/967688800467567679/posts/default/3545649624465557541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/967688800467567679/posts/default/3545649624465557541'/><link rel='alternate' type='text/html' href='http://alfaqiir-net.blogspot.com/2007/06/adbrite_24.html' title='Download ZenCafe Linux'/><author><name>faqiir</name><uri>http://www.blogger.com/profile/05309627903506103569</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-967688800467567679.post-5770037675620265534</id><published>2007-06-23T23:54:00.000-07:00</published><updated>2007-06-30T07:22:15.096-07:00</updated><title type='text'>Installing Mikrotik RouterOS with CD-Install</title><content type='html'>To install the RouterOS using a CD you will need a CD-writer and a blank CD. Burn the CD-image (an .iso file) to a CD. The archive with image can be downloaded &lt;a href="http://www.mikrotik.com/download.html#v2.php"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Follow the instructions to install RouterOS using CD-Install:&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/967688800467567679-5770037675620265534?l=alfaqiir-net.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alfaqiir-net.blogspot.com/feeds/5770037675620265534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=967688800467567679&amp;postID=5770037675620265534' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/967688800467567679/posts/default/5770037675620265534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/967688800467567679/posts/default/5770037675620265534'/><link rel='alternate' type='text/html' href='http://alfaqiir-net.blogspot.com/2007/06/adbrite.html' title='Installing Mikrotik RouterOS with CD-Install'/><author><name>faqiir</name><uri>http://www.blogger.com/profile/05309627903506103569</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-967688800467567679.post-4082093023024182801</id><published>2007-06-23T23:43:00.000-07:00</published><updated>2007-06-23T23:45:02.977-07:00</updated><title type='text'>Your IP Address</title><content type='html'>&lt;a href="http://www.robtex.com/" target="_top"&gt;&lt;img border="0" src="http://www.robtex.com/ipinfo.gif" width="468" height="20" alt="robtex" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/967688800467567679-4082093023024182801?l=alfaqiir-net.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://alfaqiir-net.blogspot.com/feeds/4082093023024182801/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=967688800467567679&amp;postID=4082093023024182801' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/967688800467567679/posts/default/4082093023024182801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/967688800467567679/posts/default/4082093023024182801'/><link rel='alternate' type='text/html' href='http://alfaqiir-net.blogspot.com/2007/06/your-ip-address.html' title='Your IP Address'/><author><name>faqiir</name><uri>http://www.blogger.com/profile/05309627903506103569</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
