اعلانات تلقائية

تعديل

خخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخ

links

السبت، 22 أكتوبر 2011

رول لتقسيم السرعه بالتساوي على المشتركين


رول كيفية تقسيم السرعة بالتساوي على المشتركين



كود PHP:
1. Mark all packets with packet-mark all
/
ip firewall mangle add chain=prerouting action=mark-packet new-packet-mark=all passthrough=no 
كود PHP:
2. Setup two PCQ queue types one for download and one for uploaddst-address is classifier for users download trafficsrc-address for upload traffic
/
queue type add name="PCQ_download" kind=pcq pcq-rate=64000 pcq-classifier=dst-address /queue type add name="PCQ_upload" kind=pcq pcq-rate=32000 pcq-classifier=src-address 
كود PHP:
3. Finallytwo queue rules are requiredone for download and one for upload
/
queue tree add parent=global-in queue=PCQ_download packet-mark=all /queue tree add parent=global-out queue=PCQ_upload packet-mark=all 
كود PHP:
If you dont like using mangle and queue treesyou can skip step 1, do step 2, and step 3 would be to create one simple queue as shown here
/
queue simple add queue=PCQ_upload/PCQ_download target-addresses=192.168.0.0/24 

1 التعليقات:

هل من الممكن تعديل الرول ليعمل على النسخه 6

إرسال تعليق

Twitter Delicious Facebook Digg Stumbleupon Favorites More