Forum Discussion
SysTopher
Nimbostratus
Jun 13, 2016F5 VIP forward to backend on certain ports
Hey everyone,
I'm looking to accomplish something, but not sure how yet. I've got two virtual servers that are configured for the same IP address, but different ports. I'm proxying these conne...
Yann_Desmarest_
Nacreous
Jun 13, 2016Hi,
I think Forwarding IP is not a good option, You can write an irule to disable HTTP and/or SSL proxying :
when CLIENT_ACCEPTED {
if { [IP::client_addr] eq "x.x.x.x" } {
SSL::disable
HTTP::disable
node y.y.y.y 80
}
}
- Yann_Desmarest_Jun 13, 2016
Nacreous
and you apply this irule on a standard VS - Yann_Desmarest_Jun 13, 2016
Nacreous
You can also disable other events if required - SysTopherJun 21, 2016
Nimbostratus
Hi Yann, I'm looking to do this for ports other than SSL and HTTP. The two virtual servers I have are for the same IP, but for ports 80 and 8083. So users can connect to this one IP address on ports 80 or 8083, but I want users who connect to this IP address on port 8080 to be forwarded to a different IP address. Any way you can think of to accomplish this? - Yann_Desmarest_Jun 21, 2016
Nacreous
Hi, You can define a new VS with a wildcard as port and assign a pool that contain a pool member with wildcard as port too. Thus, if a user try to connect to the same IP but on a port different than 80 or 8083, the request is forwarded to the backend server on the same port.the VS can be defined as Performance L4
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