Forum Discussion
puneet_mandyal_
Nimbostratus
Mar 28, 2018SFTP port 22 to be allowed on specfic IP addresses
Hi All,
We have SFTP allowed on f5 and we need to narrow down the access parameter to hit by specific IP address
How We can create rule for SFTP allow on specific IP addresses
HarshaPotharaju
Nimbostratus
Mar 28, 2018I guess this is what you are looking for. Test it and let me know how this is working.
when CLIENT_ACCEPTED {
if { [IP::client_addr] equals "x.x.x.x" } {
pool your_pool_name
log local0. "Request for service at port [TCP::local_port] from [IP::client_addr]"}
else {
reject
}
}
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