Captiveportal.inc ipfw rule startnum



  • Dear All.

    i have some problem in my pfsense i made some changes in /etc/inc/captiveportal.inc the changes are highlighted below.

    /*

    • This function will calculate the lowest free firewall ruleno
    • within the range specified based on the actual logged on users

    /
    function captiveportal_get_next_ipfw_ruleno
    *($rulenos_start = 2**, $rulenos_range_max = 64500) original line

    function captiveportal_get_next_ipfw_ruleno**($rulenos_start = 50,** $rulenos_range_max = 64500) modified line

    i execute some of my ipfw rules on number 1 to 50 from cmd shell on config.xml after that changes ipfw pass through mac rules start from 5000 on next reboot 6000 and so on.



  • Hello.@daemond:

    ….
    i have some problem in my pfsense i made some changes in /etc/inc/captiveportal.inc the changes are highlighted below.
    .....

    and the problems are ?



  • after every reboot pfsense ipfw rules start from 5000, 6000, 7000 and so on. the startnum is modified 2 to 50 and the end number is same 65400 but after reboots when the ipfw rules reach to 65400 then all the rules start from 1


Log in to reply