Forum Discussion
nitass
Oct 19, 2011Employee
if reject is in CLIENT_ACCEPTED, connection will be rejected.
[root@iris:Active] config b version|grep -iA 1 version
BIG-IP Version 10.2.2 930.0
Hotfix HF3 Edition
[root@iris:Active] config b virtual bar list
virtual bar {
snat automap
pool foo
destination 172.28.17.33:http
ip protocol tcp
rules myrule
profiles {
myhttp {}
tcp {}
}
}
[root@iris:Active] config b rule myrule list
rule myrule {
when CLIENT_ACCEPTED {
reject
}
when HTTP_REQUEST {
reject
}
}
[root@iris:Active] config b pool foo|grep -i pool\ member
+-> POOL MEMBER foo/10.10.70.110:http inactive,down
[root@iris:Active] config curl -I http://172.28.17.33
curl: (52) Empty reply from server
[root@iris:Active] config b rule myrule list
rule myrule {
when CLIENT_ACCEPTED {
reject
}
when HTTP_REQUEST {
reject
}
}
[root@iris:Active] config curl -I http://172.28.17.33
HTTP/1.0 302 Found
Location: http://www.google.com
Connection: close