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

    Help traffic shaping for PS3

    Traffic Shaping
    3
    19
    7.5k
    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.
    • B
      bio_hazard
      last edited by

      Im using pfsense 2.0 RC1 and i want to direct all my PS3 traffic to a game queue, but i cant make it work, im using this rules (attached) but this is what happens

      the download traffic is working correctly, but the upload is passing thru the p2p queue.

      Plz give me a light, i dont know what to do any more.

      PS. just change the attachment extention to xml, is a pfsense backup file.
      filter-config-watchdog.workgroup-20110516121956.txt
      shaper-config-watchdog.workgroup-20110516121946.txt

      1 Reply Last reply Reply Quote 0
      • C
        Cino
        last edited by

        hmm, I dont see the rule that would put the traffic into your p2p que. Try placing your PS3 floating rules to the bottom of your rules. Normally firewall rules work top to bottom but I noticed for shaping it doesn't work that way. It matches top to bottom but it tries to match the whole list and the last rule that matches seems to win on my box.

        1 Reply Last reply Reply Quote 0
        • B
          bio_hazard
          last edited by

          the p2p queue is the default queue, pfsense match rules bottom to top, i already tried put the rules on the bottom, same result

          1 Reply Last reply Reply Quote 0
          • C
            Cino
            last edited by

            Forgot to add, make separate rules for tcp and udp. Don't combine them for traffic shaping.

            1 Reply Last reply Reply Quote 0
            • B
              bio_hazard
              last edited by

              already tried too

              btw, the upnp is active for ps3, i dont know if make any diference

              1 Reply Last reply Reply Quote 0
              • C
                Cino
                last edited by

                I'm doing this for my all my game consoles and have setup other rules so my video streaming devices are in a high que. I don't use qP2P as my default que tho. I also use upnp for my xbox and transmission bittorrent that is installed on my nas.

                Are your reloading your filters and clearing out your states when you change your rules? I remember if I didn't do both, it wouldn't work.. Or a reboot can do it.

                Edit: I'm not sure if this is relate or not anymore. I disabled my anti-lockout rule. You have to manually add rules to the LAN tab or you will be locked-out when you disable this option. I remember reading long post from emarl and he wrote that it needed to be disabled. I don't know if that is case anymore since this was for an older ver of pfsense. emarl would have to comment on that but you can check this link on how to disable the anti-lockout feature and create rules so you dont lock yourself out. http://doc.pfsense.org/index.php/Restrict_access_to_management_interface.

                1 Reply Last reply Reply Quote 0
                • B
                  bio_hazard
                  last edited by

                  yes, i reload the filters and clean the states, can you send me your rules? I want to take a look. thanx

                  1 Reply Last reply Reply Quote 0
                  • C
                    Cino
                    last edited by

                    @bio_hazard:

                    yes, i reload the filters and clean the states, can you send me your rules? I want to take a look. thanx

                    here you go… Also, what is the date of your snapshot? You may need to update. I know to get the Layer7 rules to work, you have to be on a snapshot that is less then 2 weeks old I think.

                    Also, you may want to post your /tmp/rules.debug as emarl usually requests them so he can look at whats going on.

                    Btw, there are extra fields on my rules because I'm using the IPv6 code set. This doesn't have anything to do with the shaper.

                    rulesandqueues.txt

                    1 Reply Last reply Reply Quote 0
                    • B
                      bio_hazard
                      last edited by

                      it was the original rc1 snapshot, im updating right now, lets see if changes something..

                      1 Reply Last reply Reply Quote 0
                      • B
                        bio_hazard
                        last edited by

                        no, same thing…

                        rules.debug attached

                        rules.debug.txt

                        1 Reply Last reply Reply Quote 0
                        • C
                          Cino
                          last edited by

                          Hopefully Emarl will be able to help you out. I have a couple of ideas for you try, if they dont work the experts will have to assist.

                          I take it that your web traffic is going into the default que and not your p2p que?

                          Have you tried to put the IP address of your PS3 instead of the alias to see if that makes a difference?

                          I don't own a PS3 but does it use certain ports like xbox live does? If so try creating port rules and see.

                          Last thing I can think of to try, disable upnp and see that makes a difference.

                          1 Reply Last reply Reply Quote 0
                          • B
                            bio_hazard
                            last edited by

                            @Cino:

                            Hopefully Emarl will be able to help you out. I have a couple of ideas for you try, if they dont work the experts will have to assist.

                            I take it that your web traffic is going into the default que and not your p2p que?

                            The p2p queue is the default queue, but there a queue named default, web and other services are redirected to this queue

                            @Cino:

                            Have you tried to put the IP address of your PS3 instead of the alias to see if that makes a difference?

                            i will try

                            @Cino:

                            I don't own a PS3 but does it use certain ports like xbox live does? If so try creating port rules and see.

                            i dont know, but ea games use a specifc port, port 10000…

                            @Cino:

                            Last thing I can think of to try, disable upnp and see that makes a difference.

                            i will try it too

                            ps. After the update there is some activity on the qgames wan, before there was no activity at all…

                            1 Reply Last reply Reply Quote 0
                            • B
                              bio_hazard
                              last edited by

                              No, i disabled UPnP and the alias, the problem persists

                              1 Reply Last reply Reply Quote 0
                              • C
                                Cino
                                last edited by

                                you did say that you see some traffic on your qgame que since the update. Could it be working but your expecting more traffic on the que?

                                This can be a pain but to verify, disconnect every device from your network expect 1 pc and the ps3. Give your pc a static IP and non-existing IPs for the gateway and DNS. Monitor your queues while the PS3 is online. Also if you console/ssh in and use the pftop tool(menu number 9) then right arrow over to View rules or label. This can help you figure out which rule catching your PS3 traffic.

                                1 Reply Last reply Reply Quote 0
                                • B
                                  bio_hazard
                                  last edited by

                                  There is no others devices conected on my network right now, is very clear that the traffic from the game (bad company 2 in this case) is passing thru the p2p queue, i also tried with gta iv, same result…

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    Cino
                                    last edited by

                                    i'm out of ideas… Wish I could had help as I know how frustrating traffic shaper can be!! I've spend days on that thing...

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      bio_hazard
                                      last edited by

                                      yeah, im using pfsense for almost 3 years now, and i still dont fully understand how TS works, but thankyou very much for the help.

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        spotduster
                                        last edited by

                                        Try turning off (unchecking) the peer to peer catch all in the traffic shaping wizard in the P2P section.  We had the same problem and that fixed it.

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          bio_hazard
                                          last edited by

                                          didn't work, can you send me your rules? Maybe i'm missing something…

                                          One more thing, the problem seems to occur only with UDP traffic, the activity i'm seeing on the qgames wan is TCP traffic...

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