Forum Discussion
Jeremy_18125
Nimbostratus
May 30, 2016F5 ASM AWS backend sending connection reset.
I deployed a couple of F5 WAF in AWS in HA, the backend fails to load on the browser (reset), tcpdump shows we can get to the virtual server, and the curl can reach the web server from the LTM.
...
Yann_Desmarest
Cirrus
Jun 02, 2016Hi Jeremy,
Below an irule example I developed in 2014 to achieve the same feature as fqdn nodes :
when HTTP_REQUEST {
set host "www.myhostname.com"
HTTP::collect
resolv hostname
NAME::lookup @x.x.x.x $host
}
when NAME_RESOLVED {
set remoteip [lindex [NAME::response] 0]
if { $remoteip != "" } {
node $remoteip 80
} else {
log local0. "Hostname resolution failed !!!"
}
HTTP::release
}
when LB_FAILED {
log local0. "Selected server [LB::server] did not respond."
}
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