XMLRPC documentation?



  • Is there any documentation on XMLRPC? I checked the documentation wiki and dev wiki, but I don't see anything.

    I would like to work on some things that automate tasks in pfSense from the outside, and XMLRPC seems like the right way to do this. Am I wrong in that assumption? Is there a better way to do this? Thanks!



  • I guess you can install the cron package to manage tasks with gui. if you use a static ip, you can set rules to access from remote.

    Otherwise, if you know programming, a simple restful service is convenient for you.



  • Well I don't mean automate as in run on a schedule necessarily, I mean that I want to be able to programatically perform functions remotely, like let's say I wanted to add a firewall rule from a script, or restart the dns forwarder, etc.

    I've thought about the possibility of using SSH but a lot of functions that are in use in pfSense require PHP, so using SSH would mean invoking PHP and such from within the SSH session. I'd rather use some kind of web service. REST would be great but XMLRPC is already in the product in some capacity.

    I'm just looking for some kind of documentation about the functionality that already exists.



  • Check a package that has XMLRPC sync, it will help.

    IIRC, you can call php functions as well shell cmds.

    The only thing I know for sure is that any message/output from remote box generates alert erros on first box.


Log in to reply