iptables rule help
We have several networks such as:
Our mail server has IP address 192.168.201.2
Now we only want to allow 192.168.100.0/24 to access port 25 of 192.168.201.2, and no other network.
What would be the rule (in iptables syntax)?
The mail server currently has no firewall rules.
That's a bit tough - as far as manuals go, iptables is hard to get.
Have a look at
if the rule is to be run on the mail server itself, it would be like:
if your policy is ACCEPT for some reason, then just tweak it like:
|All times are GMT -5. The time now is 09:10 PM.|