How to configure a port as filtered on server

With nmap you can see a live system’s or server’s open, close and filtered ports. But how to show server’s port as filtered but it is configured as open.