• Domains
  • Web Hosting
  • WordPress Hosting
  • Reseller Hosting
  • Cloud VPS
  • Dedicated Servers
  • Domains
  • Web Hosting
  • WordPress Hosting
  • Reseller Hosting
  • Cloud VPS
  • Dedicated Servers
home/Knowledge Base/Dedicated Servers/Basic Security/Securing SNMP (Linux / Windows)
Popular Search:Dedicated Server, CentOS, Web Hosting

Securing SNMP (Linux / Windows)

15 views 0 November 26, 2019 aklwebhost

SNMP is used for remote monitoring and configuration of dedicated servers. If you have not changed the default community string of ‘public’ or ‘private’, your server may be abused to conduct DDOS attacks. In addition, publicly accessible SNMP can leak information about your server. We suggest using hard to guess community strings.

On Windows machines, SNMP is run through the ‘SNMP’ service. To change the community string:

  1. Open Control Panel -> Administrative Tools -> Services
  2. Find ‘SNMP Service’, right click it, and choose Properties
  3. On the Security tab, click the ‘Add’ button near ‘Accepted community names’
  4. Enter a secure password for this (do not reuse any existing password)
  5. Make sure to remove any insecure passwords (default values such as ‘public’ or ‘private’ are commonly abused)
  6. Click OK
  7. Restart the SNMP service

On Linux machines, SNMP is commonly run through the net-snmp library:

  1. Open your snmpd.conf file (usually /etc/snmp/snmpd.conf)
  2. Find the line that looks like: ‘com2sec notConfigUser default public’ (the line will begin with com2sec and end with a password. In this example, the password is ‘public’)
  3. Change the ‘public’ at the end of the line to a more secure password
  4. Restart the SNMP server with: ‘service snmpd restart’
Tags:Securing SNMP (Linux / Windows)

Was this helpful?

Yes  No
Related Articles
  • Securing SSH on Ubuntu 14.04
  • Setup ConfigServer Security and Firewall (CSF) on CentOS 7
  • Securing NTP (Linux Only)
  • Enabling and basic configuration of the firewall settings (Linux / Ubuntu)
  • Disabling SSDP (Linux / Windows)
  • Disable Recursive DNS (Linux / Windows)
Leave A Comment Cancel reply

Basic Security
  • Securing SNMP (Linux / Windows)
  • Securing SSH on Ubuntu 14.04
  • Setup ConfigServer Security and Firewall (CSF) on CentOS 7
  • Securing NTP (Linux Only)
  • Enabling and basic configuration of the firewall settings (Linux / Ubuntu)
  • Disabling SSDP (Linux / Windows)
View All 8  
Popular Articles
  • Using StrongSwan for IPSec VPN on CentOS 7
  • Disabling SSDP (Linux / Windows)
  • Can I pay by Western Union?
  • Can a Coupon Code Discount Be Carried Forward While I Upgrade My VPS Account
  • Can I pay multiple due invoices using a single transaction?
KB Categories
  • Billing
  • Cloud Hosting
  • CMS Hosting
  • cPanel/WHM Control Panel Guide
  • Dedicated Servers
    • AMD Opteron 6272
    • Arch
    • Backup Storage
    • Bandwidth
    • Basic Security
    • BSD
    • CentOS
    • Containers
    • CoreOS
    • DDoS Protection
    • Debian
    • Dedicated Server Control Panel
    • Intel Core i5 3550
    • Intel Core i5 4570
    • Intel Core i7 3770
    • Intel Core i7 4770
    • Intel Xeon E3 1230 V3
    • Intel Xeon E3 1245 V2
    • IP Space
    • Linux Guides
    • Minecraft
    • Networking
    • Server Apps
    • Server Troubleshooting
    • Ubuntu
    • Windows Guides
    • Windows Server 2008
    • Windows Server 2012
  • Domain Names
  • Email Support Documentation
    • Setup IMAP or POP
    • User Features – How To
    • Webmail – How To
  • FTP (File Transfer Protocol
    • CuteFTP Guide
    • FileZilla Guide
  • Game Servers
  • MySQL and MariaDB
  • Node.js
  • Plesk Web Hosting Guide
  • VPS Server
  • Web Servers

  Securing NTP (Linux Only)

Securing SSH on Ubuntu 14.04  

  • Privacy Policy
  • Terms of Use
  • © 2022 AKLWEB HOST LLC, All Rights Reserved.

Popular Search:Dedicated Server, CentOS, Web Hosting