How to automatically balance out the traffic over my home network?
relik1989 last edited by
I believe this would be the right place to ask this, if not, then I do apologize.
I have 6 Computers, 3 Cellphones, and a PS3 all on my home network and they all share a 20Mb/s cable internet connection. Is there a way that pfsense can automatically throttle down certain devices that are using large amounts of bandwidth if another device tried to use the internet as well? For example I do a good amount of downloading, during the day its not an issue, but at night we like to watch Netflix, and I have to manually throttle my downloads through Transmission(BT Client). Is there a way that I could configure pfsense to give me all the bandwidth I want solong as no other devices are trying to use over a set amount themselves. Like if I'm downloading at the full 20Mb/s, but then my wife goes to watch netflix, pfsense could automatically throttle my bandwidth so she can watch netflix without constant buffering, then when she's done, my connection will automatically go back up? but like I said, only if those other devices are trying to use over a set amount or something similar, I don’t want my connection so be throttled ever single time someone goes to check their Face book.
My current hardware config is;
Modem->pfsense box(1WAN 1LAN)->Dlink DIR655(AP)->
I have pfsense set to handle everything, the dlink is configured as an access point only, but every single device in the house connects through the dlink.
podilarius last edited by
You can do this with little effort. Just run the wizard and put in a penalty IPs/Alias. All that need to run at a lower priority. Once you have completed the wizard, you can go back to your queues and add in more queues if you want more categories of penalty IPs (like 3 groups of priorities). Then you assign what IPs you want in each group through the floating firewall rules. Be sure to match the existing penalty rule for everything but the IP address if you have more than 1 group. Those that have the highest or same priority will share the connection equally between them.
wired-circuit last edited by
relik1989, how did you get on? I dont think Im understanding the complete picture with it all, are you?
One problem I see is all your devices are wireless, even if pfsense puts traffic in lower priority its already went over your shared wireless network.
Not sure how well that would work.
Wouldn't it be easier to just set your p2p (why anyone would do that over wireless in the first place?) to throttle down or just pause at night. Pretty much any p2p client I have ever looked at has a scheduler built into it, so say after 5pm pause, then resume after bedtime.
edit: So here is part of the problem of running p2p over wireless. Wireless is SHARED, only really 1 device talking at a time. So with p2p there is traffic even when your not downloading or uploading anything. Once you have joined a swarm or two, your going to be seeing traffic to your ip and port be it your actively running your p2p client even. Now have you forwarded your ports on your firewall for p2p? So that unsolicited traffic gets sent to your p2p box right. Well that is all traffic eating away at your shared wireless bandwidth. Now it might not be a huge amount, but it is still traffic taking up "shared" bandwidth
so I turned on logging for just a couple of seconds on my p2p forward on 43212
pass Jul 7 08:07:53 WAN 18.104.22.168:30700 192.168.1.8:42312 UDP
pass Jul 7 08:07:43 WAN 22.214.171.124:63782 192.168.1.8:42312 UDP
pass Jul 7 08:07:41 WAN 126.96.36.199:64355 192.168.1.8:42312 UDP
pass Jul 7 08:07:41 WAN 188.8.131.52:33911 192.168.1.8:42312 UDP
pass Jul 7 08:07:40 WAN 184.108.40.206:36355 192.168.1.8:42312 UDP
pass Jul 7 08:07:37 WAN 220.127.116.11:1027 192.168.1.8:42312 UDP
pass Jul 7 08:07:33 WAN 18.104.22.168:55016 192.168.1.8:42312 UDP
pass Jul 7 08:07:33 WAN 22.214.171.124:27581 192.168.1.8:42312 UDP
pass Jul 7 08:07:29 WAN 126.96.36.199:57270 192.168.1.8:42312 UDP
pass Jul 7 08:07:29 WAN 188.8.131.52:23640 192.168.1.8:42312 UDP
pass Jul 7 08:07:21 WAN 184.108.40.206:63151 192.168.1.8:42312 TCP:S
pass Jul 7 08:07:19 WAN 220.127.116.11:13383 192.168.1.8:42312 UDP
Why not run your p2p box on a wire, so that traffic does not eat up your shared bandwidth.. And then sure put it in a penalty box so it does not eat up your inet connection. You have 10 that you mention devices all sharing "shared" bandwidth. Are your devices all N, the Cells for example? If not - they are sure not helping either - its shared bandwidth, putting slower speed devices ie B on G, B/G on N only slow it down.
You have some box moving packets at G speeds - since its shared, you can not at same time have data moving at full N speeds, N is going to see something slower than if it was only N devices.
So I wonder is it your isp connection that is saturated, or is more just wireless bandwidth issue?