Forum Discussion
Beginner-T
Altostratus
Jul 18, 2023SNAT is not working in a one-arm configuration.
Thank you for all advice. Now we are testing by configuring the BIG-IP VE with the one-arm as shown below, I want to connect a word press server via Big-ip VE LTM Version: 17.1.0.1. We can success ...
- Jul 19, 2023
Could you add the follow irule to the virtual server?
when HTTP_REQUEST { # Disable the stream filter for client requests STREAM::disable } when HTTP_RESPONSE { # Disable the stream filter for server responses STREAM::disable # Enable the stream filter for text responses only if {([HTTP::status] == 200) && ([HTTP::header value Content-Type] starts_with "text")} { # Replace '10.100.100.200' with '10.200.6.1' STREAM::expression {@10.100.100.200@10.200.6.1@} # Enable the stream filter STREAM::enable } }
Beginner-T
Altostratus
Jul 20, 2023Thank you so much.
I resolved the issue using your answer's iRule.
Jul 21, 2023
Your welcome.
But be aware, this will only work if you access the website on IP address.
This irule will work if you access the website on DNS name.
when HTTP_REQUEST {
# Disable the stream filter for client requests
set orig_host [HTTP::host]
STREAM::disable
}
when HTTP_RESPONSE {
# Disable the stream filter for server responses
STREAM::disable
# Enable the stream filter for text responses only
if {([HTTP::status] == 200) && ([HTTP::header value Content-Type] starts_with "text")} {
# Replace '10.100.100.200' with 'host header'
STREAM::expression {@10.100.100.200@$orig_host@}
# Enable the stream filter
STREAM::enable
}
}
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