Skip to main content
r/CentOS icon

r/CentOS

members
online


LPT: Productivity is about working smarter, not harder. The new AI-powered Adobe Acrobat Studio helps turn docs into decks so you can log off. It’s giving #softlife.
media poster



Configurations for Iptables 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: