Traffic shaper doesn't seem to work (internal)
-
Hello Forum,
I've not been here a long time.
Now I have problem :)I'm testing following edition:
2.1-BETA1 (i386)
built on Tue Jan 22 17:27:09 EST 2013
on virtual machine.Basically, I want to replace my not QoS-capable router (old Dlink) with pfSense to shape all traffic via wireless connection.
Strange thing is that I set all Traffic Shaper options (including Battlefield 3 I know it uses many ports), but my traffic is not shaped.
If I go to Status: Traffic shaper: Queues I see here:
No queue statistics could be read.I don't know is this related to my network, which is:
192.168.1.1 - D-Link
192.168.1.253 - pfSense WAN
192.168.1.254 - pfSense LAN
I've already disabled Block private networks and Block bogon networks options for both interfaces since this is internal routing.Q1: Do I need to have 2 subnets (192.168.1.0/24 + 192.168.2.0/24) to get traffic shaper working?
Q2: Does rule for Battlefield 3 use port 80? (game uses this port) -
To answer myself:
Yes, 2 separate networks are needed.
So I disable DHCP on D-Link, enable it on pfSense, use 192.168.2.0/24 for "shaped" traffic and it works,
pings are below 200ms (was 2000-3000 ms before).
Now I just need a second Wifi card to split all traffic between VM and HW router (one for incoming traffic and second for outgoing).But still don't know how about Battlefield 3 ports? :)
UPDATE:
Well.. does not work correctly. If I test upload ping is ok, but if I change anything related to DOWNLOAD it doesn't seem to work.
See the attach - there should be 1Mbit limit on download, however it doesn't work (still getting max download speed and high pings).
See the attach 2 - if I set something here Internet sharing stops to work.UPDATE2:
Attach 3 - tried this way, doesn't work. I know that Internet Test Speed sites are doing tests based on first miliseconds, so I would like to set "minimum" and "maximum" speed, this way Traffic Shaper cuts off internet.UPDATE3:
I did revert to version:
2.0.2-RELEASE (i386)
built on Fri Dec 7 16:30:14 EST 2012- still doesn't work for download, but adding m1,d,m2 values did not caused Internet access drop,
- manually added only two queues: 200kbit for WAN and 1000kbit for LAN, still getting 100% (2048kbit) of download,
- tried different schedulers: HFSC, CBQ, PRIQ - no change.
WORKAROUND:
The only way I found so far to get download limits working is to add whole LAN subnet to Captive Portal and set the limits.
Running 2.0.2-RELEASE (i386).
See the attach 4.
But this way I'm allowing all hosts from subnet to have internet access and this is not optimal option..
-
Not enough information to give any help.
-
What You need then?
Simply, I'm trying to set QoS internally using pfSense.
Let's assume it routes traffic between 192.168.1.x for WAN and 192.168.2.x for LAN.
192.168.1.1 - D-Link router
192.168.1.253 - pfSense WAN
192.168.2.254 - pfSense LANCan You point me to information how FreeBSD shapes traffic for download?
It's never shaped for my slow (2Mbit) download… I always get full download & high icmp responses to several common sites, tried several combinations in creator (XMLs), tried setting this download limit manually..