Portals (MOSC)

MOSC Banner

Obtaining IP address behind F5

edited Oct 14, 2015 10:58AM in Portals (MOSC)

Using Webcenter Portal and trying to call an EL expression to obtain IP of local machine. We sit behind an F5 appliance and IP that comes up is F5 IP. Attempted to update iRule on F5:

when
HTTP_REQUEST {

    HTTP::header insert WL-Proxy-Client-IP [IP::remote_addr]

}

This caused an issue with Weblogic starting up.

The EL I am using: #{facesContext.externalContext.request.remoteAddr}

Does not seem to take parameters, since I would like to call: request.getHeader("X-Forwarded-For")

Anyone have any information related to that?

Hello ,

Please check this My Oracle Support  note as this may help you:

How to Get Browser Client Real IP Within Web Application Behind F5 BIG-IP (Note  1370732.1)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center