5 votes
Accepted

How to set iptables to block incoming requests to the server but still have internet connectivity

The added iptables rules prevent the system to access itself for its own services. If the DNS server is running on the system and queried using the host's main address or 127.0.0.1 then it can't be ...
A.B's user avatar
  • 12.4k

Only top scored, non community-wiki answers of a minimum length are eligible