Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    XMLRPC documentation?

    Scheduled Pinned Locked Moved Development
    4 Posts 3 Posters 2.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Briantist
      last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • A
        ardunio
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • B
          Briantist
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • marcellocM
            marcelloc
            last edited by

            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.

            Treinamentos de Elite: http://sys-squad.com

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.