Range of ports for SNMP response?

Posted on 2011-10-13
Medium Priority
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

Accepted Solution

icenick earned 2000 total points
ID: 36963590

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

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month12 days, 19 hours left to enroll

580 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