Forum Discussion

f_piccoli's avatar
f_piccoli
Icon for Nimbostratus rankNimbostratus
Oct 14, 2011

proxypass v.10 - route domain

Hi all

 

I'trying to use F5 (model 3900) as a reverse proxy. The F5 version is 10.2.1. I followed tuh istructions contained in http://devcentral.f5.com/wiki/iRule.ProxyPassV10.ashx but are not sure you have properly configured.

 

My external site is www.abc.com, my internal site is company.domain.net and i configured datagroup

 

Name=ProxyPassVIRTUAL (VIRTUAL is the name of virtual server)

 

String=www.abc.com/

 

Value=pl_company.domain.net (name of pool)

 

 

Virtual server = 212.0.0.180%7 ( pubblic ip and route domain )

 

Pool Member01 = 10.0.0.1%4 ( private ip and route domain )

 

Pool Member02 = 10.0.0.2%4 ( private ip and route domain )

 

 

I enabled debugging on ProxyPass irule and look

 

 

 

Oct 14 10:35:45 local/tmm3 info tmm3[5567]: Rule irule_reverse-F5 : vs_reverse-F5: ClientIP%7:8367 -> 212.0.0.180%7:80 Oct 14 10:35:45 local/tmm3 info tmm3[5567]: Rule irule_reverse-F5 : VS=vs_reverse-F5, Host=www.abc.com, URI=/: Found Rule, Client Host=www.abc.com, Client Path=/, Server Host=www.abc.com, Server Path=/ Oct 14 10:35:45 local/tmm3 info tmm3[5567]: Rule irule_reverse-F5 : VS=vs_reverse-F5, Host=www.abc.com, URI=/: Using parsed pool pl_company.domain.net (make sure you have OneConnect enabled) Oct 14 10:35:45 local/tmm3 warning tmm3[5567]: 01200011:4: Connection rejected from IP clientIP%7 port 8367 to IP 10.0.0.1%4 port 80: One of the route domains is strict.

 

 

 

where do you think am I doing wrong?

 

thanks

 

F

 

1 Reply

  • the correct log

     

     

    Oct 14 10:35:45 local/tmm3 info tmm3[5567]: Rule irule_reverse-F5 : vs_reverse-F5: ClientIP%7:8367 -> 212.0.0.180%7:80 Oct 14 10:35:45 local/tmm3 info tmm3[5567]: Rule irule_reverse-F5 : VS=vs_reverse-F5, Host=www.abc.com, URI=/: Found Rule, Client Host=www.abc.com, Client Path=/, Server Host=www.abc.com, Server Path=/ Oct 14 10:35:45 local/tmm3 info tmm3[5567]: Rule irule_reverse-F5 : VS=vs_reverse-F5, Host=www.abc.com, URI=/: Using parsed pool pl_company.domain.net (make sure you have OneConnect enabled) Oct 14 10:35:45 local/tmm3 warning tmm3[5567]: 01200011:4: Connection rejected from IP clientIP%7 port 8367 to IP 10.0.0.1%4 port 80: One of the route domains is strict.