Page 1 of 1
no-bandwidth limit for selected destination websites
Posted: Fri Sep 28, 2007 8:12 am
by pokeman
hello
my senario is using Hotsopt and client set bandwidth via hotsopt profile and create Dynamic rules for bandwidth . the bandwidth is 128k down / 64 up . my question their is any way to exclude some website to unlimit access e.g
client open hotmail.com 128k down /64k up
client open mkrotik.com no limit download / no limit up
Re: no-bandwidth limit for selected destination websites
Posted: Fri Sep 28, 2007 10:33 am
by diaan1
Hi,
Use static DNS entries to lock hotmail to one IP, then simply slap a queue on that IP and Bob's your uncle.
Re: no-bandwidth limit for selected destination websites
Posted: Fri Sep 28, 2007 10:45 am
by pokeman
Hi,
Use static DNS entries to lock hotmail to one IP, then simply slap a queue on that IP and Bob's your uncle.
i am asking to gurus ..
Re: no-bandwidth limit for selected destination websites
Posted: Fri Sep 28, 2007 10:58 am
by janisk
not sure if that is best solution, but you can create address list for those addresses that need no limitations, all the rest should be limited, those in address lists - should have queue without limitations.
Re: no-bandwidth limit for selected destination websites
Posted: Mon Oct 01, 2007 12:16 pm
by pokeman
i create this rule
/queue simple
name="test-no-limit" dst-address=xxx.xxx.xxx.xxx/32 interface=all parent=none direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=0/0 total-queue=default-small
this not working any idea ?
Re: no-bandwidth limit for selected destination websites
Posted: Mon Oct 01, 2007 3:45 pm
by oleg
1) As janisk told you could simply create a list of ip address or hostnames.
2) Mangle all packets except of those located in list.
3) Apply shaping rules to the mangled packets.
That way you will only shape the packets that dose not belong to the List.
Re: no-bandwidth limit for selected destination websites
Posted: Tue Oct 02, 2007 10:45 am
by pokeman
i create this rules ... still not working
mangle rules
0 chain=forward src-address-list=bandwidth dst-address-list=bandwidth action=mark-connection
new-connection-mark=limit_conn passthrough=yes
1 chain=forward connection-mark=limit_conn action=mark-packet new-packet-mark=nolimit passthrough=yes
2 chain=forward connection-mark=!limit_conn action=mark-packet new-packet-mark=other passthrough=yes
addresses list
2 bandwidth 125.209.91.254
3 bandwidth 202.163.112.0/24
4 bandwidth 202.163.118.0/24
5 bandwidth 208.101.37.0/24
Queue Tree
name="nolimit-down" parent=ether3 packet-mark=nolimit limit-at=0 queue=nolimit-down priority=8 max-limit=0
burst-limit=0 burst-threshold=0 burst-time=0s
name="nolimit-up" parent=ether3 packet-mark=nolimit limit-at=0 queue=nolimit-up priority=8 max-limit=0 burst-limit=0
burst-threshold=0 burst-time=0s
Queue Type
name="nolimit-down" kind=pcq pcq-rate=512000 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=2000
name="nolimit-up" kind=pcq pcq-rate=512000 pcq-limit=50 pcq-classifier=src-address pcq-total-limit=2000