Securing SNMP (Linux / Windows) Print

  • Securing, SNMP, Linux, Windows
  • 0

NTP is used for ensuring the time on your dedicated server is accurate. Some configurations of this software cause it to be vulnerable to being abused to conduct DDoS attacks. We suggest fixing the server's configuration so it can no longer be abused.

To prevent abuse:

  1. Open your ntp.conf file (generally in /etc/ntp.conf)
  2. Remove any existing lines that begin with 'restrict'
  3. Add the following four lines to the beginning of the file:
    restrict default kod limited nomodify notrap nopeer noquery
    restrict -6 default kod limited nomodify notrap nopeer noquery
    restrict 127.0.0.1
    restrict -6 ::1
  4. Restart your NTP server with 'service ntpd restart' or 'service ntp restart

Was this answer helpful?

« Back