Floating rules Not working with squid installed



  • Hi! I started to configure it since 3 days ago but till now I cant manage to work. I have 20mbps internet speed. I want to separate browsing and gaming, I have only one WAN and one LAN. I want to limit my browsing to 5mbps, and the rest of my internet speed is for gaming like dota2, Lol, ROS etc. I want to limit browsing without affecting the speed of squid cache, So I created my rules on Floating rules instead on LAN rules because I do not want to limit the cache on squid. On floating rules my setting is

    Action: pass
    Interface: WAN
    Direction: out
    Address Family: IPv4
    Protocol: TCP
    Source: WAN net
    Destination: any
    Destination Port Range: aliasPort80-443-8080
    Gateway: WAN
    In / Out pipe: WAN_Up_byHost - WAN_Down_byHost

    pfsense version: 2.3.3
    squid version: 3.5.26
    squidGuard version: 1.16.4

    In transparent mode enable and the floating rules enabled browser is working but on the games like garena LOL I can Login but cant get to Lol interface. but when I disabled the my rule on foating rules it works, but the browsing has no limit.

    I disabled Transparent mode, and set the proxy on my computer client and enabled the rules on floating rules, the browsing is working but in some games, can't get to work like above. but when I disabled my rule on floating rules its working even in browsing and games but the browsing has no limit.

    on my Firewall / Traffic Shaper / Limiters
    Name: WAN_Down
    Bandwidth: 5mbps
    Mask: none

    On WAN_Down queue
    Name: WAN_Down_byHost
    Mask: Destination addresses

    Name: WAN_Up
    Bandwidth: 3mbps
    Mask: none

    On WAN_Up queue
    Name: WAN_Up_byHost
    Mask: Source Addresses

    thanks in advance!


  • Banned

    @waldopulanco said in Floating rules Not working with squid installed:

    pfsense version: 2.3.3

    Don't use an old and unsupported EOL version. Update to 2.4.4p2 and then come back with details about your setup in screenshots.



  • I don't know if 2.4.4 is compatible in Intel(R) Pentium(R) Dual CPU E2180 @ 2.00GHz, 2gb ram and 500gb storage.



  • I followed this tutorial https://forum.netgate.com/topic/107276/howto-multi-wan-traffic-shaper-with-bandwidth-limits-per-interface/2 to limit the bandwidth and its working on download, the problem is the upload I can't limit the upload. I don't know where do I limit the upload if I create on LAN subqueue or WAN subqueue. I manually created my queue in Firewall / Traffic Shaper / By Interface. Anyone how do I limit the upload? can you give me some sample? thanks in advance!



  • can't limit the upload. only working is download.

    found the tutorial here https://forum.netgate.com/topic/107276/howto-multi-wan-traffic-shaper-with-bandwidth-limits-per-interface

    Untitled111.jpg


Log in to reply