i have bigip with LTM and APM configured. want to allow smtp port 25 in LTM from various applications. application server will hit on configured VIP on port 25 and it must be allowed and connected .where and what configuration i need to put ?
You must create a Data Class(class_trusted_clients) and an iRule to filter which IP is allowed to access to SMTP server. Like this:
when CLIENT_ACCEPTED {
if {![class match [IP::client_addr] equals class_trusted_clients]}
{
drop
log local0. "dropped: [IP::client_addr] is trying to access to SMTP"
}
when CLIENT_ACCEPTED {
if {![class match [IP::client_addr] equals class_trusted_clients]}
{
drop
log local0. "dropped: [IP::client_addr] is trying to access to SMTP"
}
}