Forum Discussion
david_20684
Nimbostratus
May 08, 2008IP address and domain name restrictions in IIS
Has anyone come up with a solution for "IP Address and Domain Name Restrictions" settings in IIS behind an f5?
I would like to restrict access to our web servers running a private application from specific addresses (trusted source), generally you can add these in IIS and control and manage who will be able to access your private application by granting or denying access.
Thanks
- hoolio
Cirrostratus
Hi, - david_20684
Nimbostratus
Hi Aaron, - hoolio
Cirrostratus
You can remove all existing XFF headers and insert a new value using this iRule:when HTTP_REQUEST { Remove all XFF headers, if present while {[HTTP::header exists X-Forwarded-For]}{ Log a debug message for deleting the current XFF header log local0. "Removing XFF: [HTTP::header value X-Forwarded-For]" Remove the current XFF header HTTP::header remove X-Forwarded-For } Now that no XFF headers exist, insert a new one HTTP::header insert X-Forwarded-For [IP::client_addr] }
- david_20684
Nimbostratus
Hi Aaron, - hoolio
Cirrostratus
Hi David, - david_20684
Nimbostratus
Hi Aaron, - hoolio
Cirrostratus
Sorry for any confusion. By authentication, I mean validating the client (whether that's by IP address or username, etc). In other words, I don't think you'll be able to use SNAT and IIS's IP address ACL functionality together. - jondyke_46152
Nimbostratus
Hi David - david_20684
Nimbostratus
Hi Jon, - hoolio
Cirrostratus
Hi David,
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