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

    Capture data sent to external address

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 57 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.
    • E
      ebcdic
      last edited by

      I have a device (a weather station) which can send data (over HTTP) to a couple of external weather websites but has no way of letting me record data locally. I'd like to have all data sent by it to an external address be diverted to a local machine. What's the simplest way to do this? I could use a local web proxy but that seems rather heavyweight. Is there a way to use some simple firewall rules to redirect the communication?

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

        Not easily. You'd need to mirror the traffic. You could do that using a bridge interface with a mirror port but you'd still need something else attached to that capturing traffic. And then you'd need to decode that capture data into something useful.

        What sites can it send to? Something you enter yourself?
        Potentially you could override the DNS and have it send to something local instead.

        1 Reply Last reply Reply Quote 0
        • dennypageD
          dennypage @ebcdic
          last edited by

          @ebcdic What software/hardware are you using to publish? If you haven't looked at WeeWX, you might give it a try as it would certainly address the issue. Just a thought.

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