Range of ports for SNMP response?

Posted on 2011-10-13
Last Modified: 2013-11-22
We are using SNMP for a management tool and are trying to open firewall ports for a couple of servers. Some requests will get through because they are using the default port 161. But, the server that they need to talk to that is running Cacti will send things on random ports. For instance if I do an snmpwalk on the Cacti server and I do a tcpdump on the target server, I get random port numbers from the Cacti server showing up in the tcpdump output. Is there a range that SNMP uses so that I can tell the firewall guys what we need opened?
An example:
15:36:06.395854 IP (tos 0x0, ttl  57, id 0, offset 0, flags [DF], proto: UDP (17), length: 69) >  { SNMPv2c { GetNextRequest(26) R=1104629659  . } }
Question by:goddessofcode
    1 Comment
    LVL 7

    Accepted Solution


    While I am not familiar with Cacti, based on my knowledge, there should be a way in Cacti config that sets a port or range of ports. There should be something that controls it. It can not be RANDOM, otherwise it will pick ports of known services like ssh, ftp, http and others.

    I would read more about Cacti and setting up its ports.

    Good Luck!

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. Please see for the updated article. It is avail…
    If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
    In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now