How to block port 25 for all machine except the mailserver
Posted on 2009-03-31
I like to block the port 25 on our firewall so no other than the real email server can send emails
Considering that the mail server address is 10.0.0.1, the gateway is 10.0.0.254 and the gateway that connects to the internet through the router has the IP of 192.168.0.100
So the machine that is running IPTables is on 10.0.0.254 and the external nic is 192.168.0.100
What should my rule look like?