Forum Discussion
jpersin_288375
Nimbostratus
Hello:
Here is datagroup config:
ltm data-group internal Office_redirect_string {
records {
\*.24ur.com { }
\*.microsoft.com { }
\*.onedrive.\* { }
\*.onedrive.live.com { }
www.avto.net { }
www.najdi.si {
data www.najdi.si
}
www.pristavec.si { }
www.rtvslo.si {
data www.rtvslo.si
}
www.smart-com.si { }
www.telprom.si {
data www.telprom.si
}
}
type string
}
I think that redirect traffic goes to gw but why Web page doesn't open.
Lee_Sutcliffe
Nov 21, 2017Nacreous
The forwarding probably isn't working as you've defined a pool member to 'forward' to. F5 by default will translate destination IP address to that of the pool members. You'll probably find your firewall is dropping traffic.
To get round this you have two options, disable address translation:
when HTTP_REQUEST {
if {[class match [string tolower [HTTP::host]] contains o365_list]} {
translate address disable
node default_gw
} else {
pool Pool_BC
}
}
Or.. if your default gateway for your F5 device points out towards your firewall (and therefore internet) you can just use the
forward
command. This bypasses load balancing and disables address translation
when HTTP_REQUEST {
if {[class match [string tolower [HTTP::host]] contains o365_list]} {
forward
} else {
pool Pool_BC
}
}