Question: how iptables works in linux?
Answer: Simply put, iptables is a firewall program for Linux. It will monitor traffic from and to your server using tables. These tables contain sets of rules, called chains, that will filter incoming and outgoing data packets. ... ACCEPT – will allow the packet to pass through.