Forum Discussion

Beginner-T's avatar
Beginner-T
Icon for Altostratus rankAltostratus
Jul 18, 2023
Solved

SNAT 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 ...
  • KeesvandenBos's avatar
    KeesvandenBos
    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
     }
    }