Search

22.14. Configure the Firewall to Allow Incoming NTP Packets

download PDF
The NTP traffic consists of UDP packets on port 123 and needs to be permitted through network and host-based firewalls in order for NTP to function.

22.14.1. Configure the Firewall Using the Graphical Tool

To enable NTP to pass through the firewall, using the graphical tool system-config-firewall, issue the following command as root:
~]# system-config-firewall
The Firewall Configuration window opens. Select Other Ports from the list on the left. Click Add. The Port and Protocol window opens. Click on one of the port numbers and start typing 123. Select the port 123 entry with udp as the protocol. Click OK. The Port and Protocol window closes. Click Apply in the Firewall Configuration window to apply the changes. A dialog box will pop up to ask you to confirm the action, click Yes. Note that any existing sessions will be terminated when you click Yes.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.