Forum Discussion
Thanadon_Wattan
Nimbostratus
Feb 24, 2005Is it possible to use F5 as proxy/reverse proxy server?
I try to config F5 as proxy/reverse proxy by i-Rule.
is it possible?
I use data group for mapping request uri to internal server like this
{http://www.host1.com/path1/ http://10.10.0.15:83/}
and matching 1st field to HTTP::host and path
if it matches, I write 'node 2nd_field' to send the request to specific server (for reverse proxy function)
and if I have many lines of mapping, this may degrade the performance of F5?
and should I use F5 as reverse proxy?
coz I need the High Availability proxy server and don't want to pay for 2 servers and a pair of F5 to make it. so I choose to add proxy function to F5 instead.
Thank you in advance.
6 Replies
- Brian_Gupta_115
Nimbostratus
Basically a load balancer is a reverse proxy. Please see the following thread on URI parsing.
as your condition.ends_with "http://10.10.0.15:83/
- Brian_Gupta_115
Nimbostratus
Also see this thread: http://devcentral.f5.com/default.aspx?tabid=28&forumid=5&postid=1514&view=topic on constructing a uri. - Thanadon_Wattan
Nimbostratus
I need some help. I'm new in i-Rule configuration and tcl script. - drteeth_127330Historic F5 AccountI am not entirely sure what you are trying to do. But you seem to be using TCL lists and I think you are trying to perform double variable expansion. Perhaps this example will help:
% set foo { 1 2 3 4 } 1 2 3 4 % puts [lindex $foo 3] 4 % set bar foo foo % puts [lindex [subst $$bar] 3] 4
- Thanadon_Wattan
Nimbostratus
thank you for quick answer. - unRuleY_95363Historic F5 AccountYou are very close. Try this:
set group ::datagroup log [subst $$group] log [lindex [subst $$group] end]
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