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

    UDP SNMP monitoring of devices via pfSense NAT

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 Posters 646 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
      basic612
      last edited by

      In our setup I have a series of devices that are on separate VLANs / interfaces, accessible to be via NAT rules. The devices in question are only accessible via UDP for SNMP traffic. I've been scratching my head trying to work out how to get NAT working in this setup:

      Monitoring workstation on LAN (10.0.0.1/24)  –-->    pfSense (10.0.0.254/24) NAT  ---->    Monitored device VLAN101 (10.1.0.1/29)
      Monitoring workstation on LAN (10.0.0.1/24)  ---->    pfSense (10.0.0.254/24) NAT  ---->    Monitored device VLAN102 (10.1.0.2/29)
      Monitoring workstation on LAN (10.0.0.1/24)  ---->    pfSense (10.0.0.254/24) NAT  ---->    Monitored device VLAN103 (10.1.0.3/29)

      etc...

      Should this setup be possible? Hoping someone can shed some pearls of wisdom or point me in the direction of pertinent documentation or some troubleshooting / investigation recommendations.

      Thanks

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        If they are both local, why do you need NAT? Just craft proper firewall rules and they can route directly.

        Otherwise you'll either have to setup multiple VIPs on pfSense so you can do 1:1 NAT -or- you'll need to map each monitored device to a different SNMP port. That may only work if your monitoring system lets you specify the SNMP port for a monitored host.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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