Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Traffic shaper doesn't seem to work (internal)

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    4 Posts 2 Posters 2.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      toomeek
      last edited by

      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)

      1 Reply Last reply Reply Quote 0
      • T Offline
        toomeek
        last edited by

        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..

        20130210-pfSense-beta-traffic-not-working.png
        20130210-pfSense-beta-traffic-not-working.png_thumb
        20130210-pfSense-beta-traffic-not-working2.png
        20130210-pfSense-beta-traffic-not-working2.png_thumb
        20130210-pfSense-beta-traffic-not-working3.png
        20130210-pfSense-beta-traffic-not-working3.png_thumb
        20130210-pfSense-non-beta-workaround.png
        20130210-pfSense-non-beta-workaround.png_thumb

        1 Reply Last reply Reply Quote 0
        • E Offline
          eri--
          last edited by

          Not enough information to give any help.

          1 Reply Last reply Reply Quote 0
          • T Offline
            toomeek
            last edited by

            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 LAN

            Can 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..

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.