Forum Discussion
Redirect office 365 from virtual server direct to internet
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.
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
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
