Forum Discussion
Eddie_27920
Nimbostratus
Jan 07, 2015New to iRules and trying to get port translation to work
I have a website that is HTTP, a VIP built on HTTP with the following iRule:
when HTTP_REQUEST {
set host [string tolower [HTTP::host]]
if { $host eq "solidwaste.dev.mesaaz.gov"} {
pool solidwaste.de...
Michael_Jenkins
Cirrostratus
Jan 07, 2015I've got a virtual server set up like this in my environment, where the client comes in on port 80 (http) but the backend connection is on a different port (we'll say 55555). I have no special setup, and it works for me... My config is similar to the following...
ltm pool MY_POOL {
load-balancing-mode least-connections-member
members {
10.0.0.1:55555 {
address 10.0.0.1
session monitor-enabled
state up
}
}
monitor MY_TCP_MONITOR
}
ltm virtual MY_VS {
destination 192.168.10.10:http
ip-protocol tcp
mask 255.255.255.255
pool MY_POOL
profiles {
http { }
tcp { }
}
source 0.0.0.0/0
source-address-translation {
type automap
}
}
Also, if you turn off the port translation, does it work for you?
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