Update custom list with script



  • Hello,
    I want to upload updated list(txt file) of custom IPv4 addresses through script.
    If I did this update through web, in folder permit/ pfblocker create empty file list_of_ipv4_addresses.update
    My question is where pfblocker save newly inserted addresses in a list through web, and on cron or force reload lists update file with new addresses in the list?
    So, my path is:
    Download list -> Edit list locally -> Upload list with new content to FW -> Reload configuration
    Could someone help me how to achieve this?
    Thanks!
    Sinisa


Log in to reply