pfSense Shell - shell_exec php

  • Im running shell_exec on php it shows output but the command done does not reflect on the pfsense firewall

    When i run easyrule on the shell of pfSense itself it outputs "Host Added Successfully" it adds rules in pfSense

    When i run easyrule using shell_exec in my php code hosted by apache it also outputs "Hoste Added Successfully" but it doesnt add rules in pfSense

    help pls :< Thankyou in advance

  • Rebel Alliance Developer Netgate

    Trying to run a pfSense shell script from the GUI won't work as you expect (if at all). Use an actual shell.

Log in to reply