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

    Send a File to Other System

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 400 Views 2 Watching
    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.
    • SoloamS Offline
      Soloam
      last edited by

      Hello, I need to retrieve the arp table from pfsense and send it to other system, my idea was to have a batch running "arp -a" and writing the output to a file that I would send to other system.

      I think that I would prefere to push a file from pfSense so that I don't have to give ssh permissions to other users. The problem is where do I put the private key to give root the ability to scp to other system? Is this possible?

      Another solution would be to publish the content in the pfSense webserver, but I would prefere to do that as a last resource so that I don't have the arp table open to all pc's on the network.

      Thank You

      1 Reply Last reply Reply Quote 0
      • stephenw10S Online
        stephenw10 Netgate Administrator
        last edited by

        You probably want a variation on this:
        https://www.netgate.com/docs/pfsense/backup/remote-config-backup.html#push-it

        Never tried it myself but 30secs Googling turned up this likely suspect:
        https://gist.github.com/ilumos/f6861ea879889146ce9ad61a956ba801

        You should be able to get suitable command setup from that to write out the arp table to remote system directly I would have thought.

        Edit: Tested. Mostly works. Should be adaptable to your needs.

        Steve

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