Settingan Bagus nih.. Coba ya
Mangle :
;;; Mark Incoming connection dari IIX -> Local
chain=forward action=mark-connection new-connection-mark=con-iix
passthrough=yes protocol=!icmp src-address-list=nice
dst-address-list=localnet
;;; Mark Outgoing Connection dari Local -> IIX
chain=forward action=mark-connection new-connection-mark=con-iix
passthrough=yes protocol=!icmp src-address-list=localnet
dst-address-list=nice
;;; Mark Connection dari Local -> INT
chain=forward action=mark-connection new-connection-mark=con-int
passthrough=yes protocol=!icmp src-address-list=localnet
dst-address-list=!nice
;;; Mark Packet IIX Packet
chain=prerouting action=mark-packet new-packet-mark=iix passthrough=yes
connection-mark=con-iix
;;; Mark Packet INT Packet
chain=prerouting action=mark-packet new-packet-mark=int passthrough=yes
connection-mark=con-int
Queue Simple
;;; IIX-GLOBAL
:for e from 5 to 254 do={
/queue simple add name=”IIX-user $e” target-addresses=”192.168.6.$e” interface=all parent=IIX-GLOBAL packet-marks=iix direction=both priority=8 queue=default/default limit-at=0/0 max-limit=2M/2M
}
;;; INT-GLOBAL
:for e from 5 to 254 do={
/queue simple add name=”INT-user $e” target-addresses=”192.168.6.$e” interface=all parent=INT-GLOBAL packet-marks=int direction=both priority=8 queue=default/default limit-at=0/0 max-limit=256k/256k
}
Mangle :
;;; Mark Incoming connection dari IIX -> Local
chain=forward action=mark-connection new-connection-mark=con-iix
passthrough=yes protocol=!icmp src-address-list=nice
dst-address-list=localnet
;;; Mark Outgoing Connection dari Local -> IIX
chain=forward action=mark-connection new-connection-mark=con-iix
passthrough=yes protocol=!icmp src-address-list=localnet
dst-address-list=nice
;;; Mark Connection dari Local -> INT
chain=forward action=mark-connection new-connection-mark=con-int
passthrough=yes protocol=!icmp src-address-list=localnet
dst-address-list=!nice
;;; Mark Packet IIX Packet
chain=prerouting action=mark-packet new-packet-mark=iix passthrough=yes
connection-mark=con-iix
;;; Mark Packet INT Packet
chain=prerouting action=mark-packet new-packet-mark=int passthrough=yes
connection-mark=con-int
Queue Simple
;;; IIX-GLOBAL
:for e from 5 to 254 do={
/queue simple add name=”IIX-user $e” target-addresses=”192.168.6.$e” interface=all parent=IIX-GLOBAL packet-marks=iix direction=both priority=8 queue=default/default limit-at=0/0 max-limit=2M/2M
}
;;; INT-GLOBAL
:for e from 5 to 254 do={
/queue simple add name=”INT-user $e” target-addresses=”192.168.6.$e” interface=all parent=INT-GLOBAL packet-marks=int direction=both priority=8 queue=default/default limit-at=0/0 max-limit=256k/256k
}
Settingan Mangle IIX, INT dan Queue Simple