Forum Discussion
kunal_borkar_52
Nimbostratus
Oct 03, 2012Not able to see HTTP requset from and HTTP header in floationg IP to server communication
Hi Team,
I have created LAB set up on VMware for LTM. I want to configure Client Ip insertion in HTTP header but when I take Tcpdump on LTM not able to see any HTTP request from Floating IP to s...
nitass
Employee
Oct 03, 2012e.g.
[root@ve10:Active] config b virtual Web_1 list
virtual Web_1 {
snat automap
pool Web_1
destination 172.28.19.79:80
ip protocol 6
rules {
Web_1
My_rule
}
profiles {
http {}
tcp {}
}
}
[root@ve10:Active] config b pool Web_1 list
pool Web_1 {
members 200.200.200.101:80 {}
}
[root@ve10:Active] config b rule Web_1 list
rule Web_1 {
when HTTP_REQUEST {
if { [HTTP::uri] equals "/" } {
HTTP::redirect "http://10.1.1.30/joomla/"
}
}
}
[root@ve10:Active] config b rule My_rule list
rule My_rule {
when HTTP_REQUEST {
if {not [HTTP::header exists "X-Forwarded-For"]} {
HTTP::header insert X-Forwarded-For [IP::client_addr]
}
}
}
[root@ve10:Active] config ssldump -Aed -nni 0.0 port 80
New TCP connection 1: 172.28.19.251(49526) <-> 172.28.19.79(80)
1349253665.2904 (0.0013) C>S
---------------------------------------------------------------
HEAD /something HTTP/1.1
User-Agent: curl/7.15.5 (i686-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
Host: 172.28.19.79
Accept: */*
---------------------------------------------------------------
New TCP connection 2: 200.200.200.10(49526) <-> 200.200.200.101(80)
1349253665.2931 (0.0009) C>S
---------------------------------------------------------------
HEAD /something HTTP/1.1
User-Agent: curl/7.15.5 (i686-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
Host: 172.28.19.79
Accept: */*
X-Forwarded-For: 172.28.19.251
---------------------------------------------------------------
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
