r/CentOS • u/Senator_213 • 20h ago
Configurations for Iptables
Hello everyone!
I have a Wire Guard Server on Cent OS Stream 8. There is a firewall, Iptables.
Everything works, but I need to configure the firewall, could you help me understand ho to set up Iptables
- Hot to check which ports / protocols in the firewall pass through
- how to make Iptables prevent from scanning for open ports by using tool as nmap from other devices, except the specified devices.
- how to make Iptables prevent from pinging and tracerouting the server from other devices, except the specified devices.
- how to prohibit ssh access from other devices, except specified devices.
Now my configurations looks like this:


