larry_p_134874
Feb 27, 2014Nimbostratus
proxypass to external web site
Using the ProxyPass iRule Version 10.9 on a F5 BIG-IP 10.2.4 Build 591.0 Hotfix HF2 and the following configuration, assuming the external web site is working properly, should the following work for https://10.0.0.10/anything_here_ignored to https://ex.ternal.com/login_portal.jsp?VAR1=VALUE1&VAR2=VALUE2? For internal use currently but 10.0.0.10 will be changed to an external IP address.
Many thanks!
virtual APP-test-f5-vs {
pool EX.TERNAL.com-pool
destination 10.0.0.10:https
ip protocol tcp
rules proxypass
profiles {
APP-test-f5-server {
serverside
}
http {}
tcp {}
}
}
pool EX.TERNAL.com-pool {
monitor all tcp
members {
1.2.3.4:https {}
1.2.3.5:https {}
}
}
profile serverssl APP-test-f5-server {
defaults from serverssl
key "APP_key.key"
cert "APP_cert_1.crt"
chain none
ca file none
ciphers "DEFAULT"
options dont insert empty fragments
modssl methods disable
renegotiate enable
renegotiate period indefinite
renegotiate size indefinite
secure renegotiation request
unclean shutdown enable
strict resume disable
handshake timeout 60
alert timeout 60
cache size 262144
cache timeout 3600
}
class ProxyPassAPP-test-f5-vs {
{
"/" { "/login_portal.jsp?VAR1=VALUE1&VAR2=VALUE2" }
"NOTE!" { "name of this data group must be `ProxyPass' immediately followed by the name of the virtual server that will use this data group" }
}
}