• 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 NTP (Linux Only)
Popular Search:Dedicated Server, CentOS, Web Hosting

Securing NTP (Linux Only)

91 views 0 November 26, 2019 aklwebhost

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:
  4. restrict default kod limited nomodify notrap nopeer noquery
  5. restrict -6 default kod limited nomodify notrap nopeer noquery
  6. restrict 127.0.0.1
  7. restrict -6 ::1
  8. Restart your NTP server with ‘service ntpd restart’ or ‘service ntp restart’
Tags:Securing NTP (Linux Only)

Was this helpful?

Yes  No
Related Articles
  • Securing SSH on Ubuntu 14.04
  • Setup ConfigServer Security and Firewall (CSF) on CentOS 7
  • Securing SNMP (Linux / Windows)
  • 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 NTP (Linux Only)
  • Securing SSH on Ubuntu 14.04
  • Setup ConfigServer Security and Firewall (CSF) on CentOS 7
  • Securing SNMP (Linux / Windows)
  • 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

  Enabling and basic configuration of the firewall settings (Linux / Ubuntu)

Securing SNMP (Linux / Windows)  

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

Popular Search:Dedicated Server, CentOS, Web Hosting