[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Explanation please



 Richard Sidlin <dns@xxxxxxxxxxxxxxxxx>  wrote


> Thanks for the reply. How do I block them with ipchains please?
> 
You have to have ipchains installed.
#SMTP BLOC this host
ipchains -A input -p tcp -s mailhost.southwark.gov.uk 25 -j DENY   
add -l to the end of the rule -you want to log it.

Run the command from the command line,
Do ipchains -L -n and look at the rule.
Then add it to your ipchains script.

Gerald