Dnpipe works in pfsense but not FreeBSD



  • I install the latest 2.0 snapshot, and play ok with the limter/rules(ie. dnpipe).

    I also setup a freshly installed FreeBSD 7.1 and patch below:

    fairq.RELENG_7.diff
    dscp.RELENG_7.diff
    queuestats.RELENG_7.diff
    hfscconfig.RELENG_7.diff
    killifstates.RELENG_7.diff
    dummynet.RELENG_7.diff
    divert.RELENG_7.diff
    pfil.RELENG_&.diff

    rebuild kernel and pfctl ok

    Then I copy the rules.debug from pfsense box to FreeBSD, just make some changes about IP and NIC.
    But after succesful "pfctl -f rules.debug", the LAN computers can't access WAN(access firewall thru ssh is ok).

    The problem is in the rule"pass  in  quick  on $LAN  from 172.16.8.0/24 to any keep state dnpipe ( 1, 2)",
    if I remove "dnpipe(1,2)" then everything is OK(of course, traffic shaper is gone)

    I guess I made sth. wrong in the patch/build process, can anyone tell me how to get a FreeBSD7.1 dnpipe capable?

    Thousand Thanks!

    Rong.



  • freebsd.org/handbook
    or man dummynet(4)

    This is for dummies and from that you can take on!


Log in to reply