Hi There
Where can I find more documentation on Firewalld. My need is to only allow connection to designated ports from allowed hosts.
Basically need to allow only certain source addresses. Do I create a custom zone with the allowed addresses?
Cheers
Firewalld
Re: Firewalld
https://access.redhat.com/documentation ... walls.html should keep you busy for a while.
- Super Jamie
- Posts: 310
- Joined: 2014/01/10 23:44:51
Re: Firewalld
FirewallD uses the concept of Zones, and allows Services into those Zones.
A Zone contains NetworkManager Connections.
A Service consists of a Port, Destination Address (optional), and Netfilter Helper (optional).
Assuming all your NetworkManager Connections are in the default Zone, you just need to create Services and allow those Services into the default Zone.
The RHEL doc is pretty good, though it does have a few inaccuracies. The Fedora wiki is a little bit incomplete and outdated. Personally I find man firewall-cmd to be the best resource at the moment.
A Zone contains NetworkManager Connections.
A Service consists of a Port, Destination Address (optional), and Netfilter Helper (optional).
Assuming all your NetworkManager Connections are in the default Zone, you just need to create Services and allow those Services into the default Zone.
The RHEL doc is pretty good, though it does have a few inaccuracies. The Fedora wiki is a little bit incomplete and outdated. Personally I find man firewall-cmd to be the best resource at the moment.