Hello World
Thes is my 1’st post. But it is about very important think.
No im testing my configuration on my home comp. I have on ether3 my ISP - named “WAN”
All other iface are in brige - “LAN”
After read tons of materials,on each kind forums, wiki’s page… i did something like that and i have some problems with that:
MANGLE(i think here is a problem):
0 ;;; WWW
chain=prerouting action=mark-connection new-connection-mark=all_conn_www passthrough=yes protocol=tcp src-port=80,443
1 ;;; www up
chain=prerouting action=mark-packet new-packet-mark=www_up passthrough=no in-interface=LAN connection-mark=all_conn_www
2 ;;; www down
chain=prerouting action=mark-packet new-packet-mark=www_down passthrough=no in-interface=WAN connection-mark=all_conn_www
3 ;;; ICMP
chain=prerouting action=mark-connection new-connection-mark=all_conn_icmp passthrough=yes protocol=icmp
4 ;;; icmp_up
chain=prerouting action=mark-packet new-packet-mark=icmp_up passthrough=no in-interface=LAN connection-mark=all_conn_icmp
5 ;;; icmp_down
chain=prerouting action=mark-packet new-packet-mark=icmp_down passthrough=no in-interface=WAN connection-mark=all_conn_icmp
6 ;;; P2P
chain=prerouting action=mark-connection new-connection-mark=all_conn_p2p passthrough=yes p2p=all-p2p
7 ;;; p2p up
chain=prerouting action=mark-packet new-packet-mark=p2p_up passthrough=no in-interface=LAN connection-mark=all_conn_p2p
8 ;;; p2p down
chain=prerouting action=mark-packet new-packet-mark=p2p_down passthrough=no in-interface=WAN connection-mark=all_conn_p2p
9 ;;; other
chain=prerouting action=mark-connection new-connection-mark=all_conn_other passthrough=yes
10 ;;; other_up
chain=prerouting action=mark-packet new-packet-mark=other_up passthrough=no in-interface=LAN connection-mark=all_conn_other
11 ;;; other down
chain=prerouting action=mark-packet new-packet-mark=other_down passthrough=no in-interface=WAN connection-mark=all_conn_other
12 ;;; 256/128 upload
chain=forward action=mark-connection new-connection-mark=up_conn_256/128 passthrough=yes src-address-list=256/128
13 chain=forward action=mark-packet new-packet-mark=256/128_upload passthrough=yes
connection-mark=up_conn_256/128
14 ;;; 256/128 download
chain=forward action=mark-connection new-connection-mark=down_conn_256/128 passthrough=yes dst-address-list=256/128
15 chain=forward action=mark-packet new-packet-mark=256/128_download passthrough=yes connection-mark=down_conn_256/128
And Queues:
0 name=“DOWN_KOL” parent=global-in packet-mark=“” limit-at=950000 queue=sfq priority=4 max-limit=1024000 burst-limit=0 burst-threshold=0 burst-time=0s
1 name=“UP_KOL” parent=global-in packet-mark=“” limit-at=200000 queue=sfq priority=4 max-limit=256000 burst-limit=0 burst-threshold=0 burst-time=0s
2 name=“www_down_kol” parent=DOWN_KOL packet-mark=www_down limit-at=0 queue=download priority=2 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
3 name=“www_upload_kol” parent=UP_KOL packet-mark=www_up limit-at=0 queue=upload priority=2 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
4 name=“p2p_down_kol” parent=DOWN_KOL packet-mark=p2p_down limit-at=0 queue=download priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
5 name=“p2p_upload_kol” parent=UP_KOL packet-mark=p2p_up limit-at=0 queue=upload priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
6 name=“icmp_down_kol” parent=DOWN_KOL packet-mark=icmp_down limit-at=200000 queue=download priority=1 max-limit=256000 burst-limit=0 burst-threshold=0 burst-time=0s
7 name=“icmp_up_kol” parent=UP_KOL packet-mark=icmp_up limit-at=0 queue=upload priority=1 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
8 name=“DOWN_klient” parent=global-out packet-mark=“” limit-at=0 queue=sfq priority=4 max-limit=1024000 burst-limit=0 burst-threshold=0 burst-time=0s
9 name=“UP_klient” parent=global-out packet-mark=“” limit-at=0 queue=sfq priority=4 max-limit=256000 burst-limit=0 burst-threshold=0 burst-time=0s
10 name=“256/128” parent=DOWN_klient packet-mark=256/128_download limit-at=0 queue=256_download priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
11 name=“256/125” parent=UP_klient packet-mark=256/128_upload limit-at=0 queue=128_upload priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
12 name=“other_down_kol” parent=DOWN_KOL packet-mark=other_down limit-at=0 queue=download priority=3 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
13 name=“other_upload_kol” parent=UP_KOL packet-mark=other_up limit-at=0 queue=upload priority=3 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
So problem is in in mangle as i know ![]()
But if i turn on the shape-marks the upload marks of priorities don’t work ![]()
After read everything what I found, i dont have idea what could be wrong… Maybe is somebody who could help me? What i need to read??