Article overview

Help article

How do I protect my SNMP server against abuse?

How do I protect my SNMP server against abuse?

This FAQ-article explains how to protect your SNMP server against abuse.

  1. Edit the following file /etc/snmp/snmpd.conf. Please note that you need root rights to be able to edit this file.
  2. Make sure the value of AgentAddress is udp:127.0.0.1:161 Any additional AgentAddress entries should be removed or commented out.
  3. Use the following command to restart the SNMP server when you have saved the changes to the config file.
    service snmpd restart
  4. Use the following command to check if the server is no longer vulnerable.
    netstat -ln | grep 161 | grep -v 127.0.0.1
    This command should return no results.

Do you have a good idea?

Give us your idea! If it's popular we'll add it to the wishlist!

Has this article been helpful?

Create an account or log in to leave a rating.

Share this article

Comments

Create an account or log in to be able to leave a comment.

Are you stuck?

Ask one of our specialists to assist you

Contact us