Forum Discussion
srinivas_nory_2
Nimbostratus
Jun 30, 2015Irule to restrict traffic based on domain name
Hello,
I was wondering if there was a way to use an I rule based on the domain name of the host and deny all the traffic apart from those specific domain names ?
Example :
We have a d...
srinivas_nory_2
Nimbostratus
Jun 30, 2015Hi Maneesh,
Thank you for the quick response, on the http header we are reading the host entry for mydomain.com or mydomian.in, usually this host entry is for the internet host of the resouce being requested.
so machine from the lan with domain mydomain.com / mydomain.in when sends out a request does the http header of host file will be machinename.mydomain.com / machinename.mydomain.in ? Any machine not being on these domain should be rejected.
Can you please let me know if the rule suffices the source based restirction ?
Thanks
TechT_163800
Nimbostratus
Jun 30, 2015i wonder how LB can read source domain names(may be i am lacking here), if it was IP we could have match with "class match [IP::client_addr]"
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