IPtables - Block all except what I allow
Im making a new server with various services running (httpd, smtp etc)
I want to block all but allow access to these services
Ive started IPTables but it looks by default that it allows everything. Im using trustix 2.2.
Ive done many a search and with this being my first time with IPTables im a little confused.
I think Ive managed to block all with...
iptables -P INPUT DROP
Is that correct?