Forum Discussion
yosry92_331999
Altostratus
Dec 19, 2017how can i make irule to block port 25 on virtual server?
hi all,
can i block port 25 on virtual server which has service port (0) any ??
Samir_Jha_52506
Noctilucent
Dec 19, 2017Yes. you can achieve via policy also. Please find the irule.
when CLIENT_ACCEPTED {
if { ([string tolower [HTTP::host]] equals "xyz.com") && ([TCP::local_port] == 25)} {
drop
log local0. "connection dropped from [HTTP::host]"
}
}
yosry92_331999
Altostratus
Dec 21, 2017how can i block it via policy??
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