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

Remote SNMP Howto?

SNMP
7
8
18.0k
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.
  • N
    nexusone
    last edited by Feb 2, 2008, 11:54 PM

    I have a pfsense installation that I would like to monitor via SNMP. How do I set it up so that the snmp agent is exposed on the wan interface? I'd like to protect it with a rule that restricts the traffic based on source.

    Thanks.

    1 Reply Last reply Reply Quote 0
    • A
      AtomicPlayboy
      last edited by Feb 3, 2008, 2:11 AM

      Adding a rule that allows UDP/161 inbound (with restrictions based on source) should be sufficient.

      Naturally, you have to enable snmp too…

      -Rob

      1 Reply Last reply Reply Quote 0
      • N
        nexusone
        last edited by Feb 3, 2008, 7:50 AM

        hmmm. i tried that with no luck. snmp service enabled on pfsense. rule passing snmp traffic. attempting to poll the external wan IP address. I get no snmp response. internally on the trusted interface it responds fine. This however doesnt help me much as I need to monitor it from a remote site.

        I'll keep messing with it.

        1 Reply Last reply Reply Quote 0
        • G
          GruensFroeschli
          last edited by Feb 3, 2008, 10:43 AM

          Where did you create the rule?
          On WAN?
          Is the order of the rules so that your "allow SNMP rule" is at the top (an has an effect)?

          We do what we must, because we can.

          Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

          1 Reply Last reply Reply Quote 0
          • Y
            youngadmin
            last edited by Feb 7, 2008, 9:52 PM

            IIRC, there's something in the docs about this. I think you have to create a static route. Check the docs.

            1 Reply Last reply Reply Quote 0
            • D
              dotdash
              last edited by Feb 7, 2008, 11:04 PM

              I think you mean this:
              http://doc.pfsense.org/index.php/Why_can%27t_I_query_SNMP%2C_use_syslog%2C_NTP%2C_or_other_services_initiated_by_the_firewall_itself_over_IPsec_VPN%3F
              I thought that was only with an IPSec tunnel, but it's worth a shot…

              1 Reply Last reply Reply Quote 0
              • R
                razor2000
                last edited by Feb 8, 2008, 12:57 AM

                I perform this all the time.  I just create a rule on the WAN interface allowing access to the WAN ip via the UDP protocol on port 161.

                Now, getting this to work on a 2nd or 3rd WAN interface, I have NEVER been able to get it to work, however :( .

                1 Reply Last reply Reply Quote 0
                • H
                  hdokes
                  last edited by Feb 9, 2008, 2:06 PM Feb 9, 2008, 1:53 PM

                  I also am trying to monitor via SNMP remotely from the wan side however this particular box has the lan bridged to the wan to pass through a .248 live subnet.  I keep getting msgs that the pfsense box is not responding to the requests.  I have confirmed that SNMP is active.

                  I should add that "enable filtering bridge" is currently disabled.

                  Anyone know what a rule should look like here?

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