I use ALTQ for traffic shaper.I can bandwidth limiter speed internet only download or upload client.But i want bandwidth limiter speed internet download and upload same time.
result speed test:
download : 2Mb (only 192.168.3.5 )
upload : 2.5Mb ( don't = 0.5 MB)
Say me please!
what can i do?
Code:
$ext_if = "10.119.16.6"
$int_if = "192.168.3.1"
Code:
altq on $ext_if cbq bandwidth 100Mb queue { pc_up1, pc_up2 }
queue pc_up1 bandwidth 2.5Mb cbq (default)
queue pc_up2 bandwidth 0.5Mb cbq (rio)
altq on $int_if cbq bandwidth 100Mb queue { pc_down1,pc_down2 }
queue pc_down1 bandwidth 4.5Mb cbq (default)
queue pc_down2 bandwidth 2Mb cbq (rio)
nat on $ext_if from 192.168.3.5 to any -> 10.119.16.6
pass in on $int_if from 192.168.3.5 to any queue pc_down # down
pass out on $ext_if from 192.168.3.5 to any queue pc_up2 # up
#save
#pfctl -f /etc/pf.conf
download : 2Mb (only 192.168.3.5 )
upload : 2.5Mb ( don't = 0.5 MB)
Say me please!
what can i do?