Forum Discussion
David_Desautels
Nimbostratus
Aug 21, 2013irule with data group list
I am trying to write a irule that will allow only certain subnets internally to be allowed to send email to this outgoing email server.
Thought this below might do the trick, but no. Take remote IP...
eey0re
Cirrostratus
Aug 21, 2013Essentially not doing anything allows the connection through. drop or discard will drop the connection from the BIG-IP (but this is a bit brutal), reject will close it. To use this you want to invert your logic, like so:
if { not [class match [IP::remote_addr] equals smtp_relay_allowed] } {
reject
}
Ideally what you want to do is actually respond with some valid SMTP indicating a denied connection.
Another non-iRule approach is to look at the Packet Filters feature.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects