Forum Discussion
Joe_Clark_45172
Mar 07, 2013Nimbostratus
iRule for source IP addresses
I am very new to iRules.
I need some help creating an iRule to make HTTP redirect based on the source IP address
when CLIENT_ACCEPTED {
if {([IP::addr [IP::client_addr] e...
nitass
Mar 15, 2013Employee
if { ({HTTP::host eq "208.1.1.1" and [IP::addr[IP::client_addr] equals 10.0.0.0/20]}{HTTP::host should be enclosed with bracket i.e. [HTTP::host]
HTTP::redirect "10.0.0.10"i think it should look like the one Michael suggested e.g. HTTP::redirect "https://10.0.0.10/, HTTP::redirect "https://10.0.0.10[HTTP::uri]"
anyway, i never used vmware view but i feel it might not be right. have you tried to run tcpdump/ssldump to see what is going on indeed?
just my 2 cents
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