Forum Discussion
jagannathks_398
Oct 13, 2011Nimbostratus
SNAT configuration - Inbound /Outbound
Dear all, We are configuring 2 servers(HA - always on-line)) which hosts 2 different portals. 1) Administrator & Customer care 2) Web user These 2 servers have Pr...
Michael_Yates
Oct 13, 2011Nimbostratus
Hi jagannathks,
You stated that you have two different portals that you want to access via the same Virtual Server on the Big-IP. Yes, you can do this, but the how depends on the details.
I assume that the ports are running on different servers.
1. Administrator & Customer Care - > 178.18.185.43 Port 8080
2. Web User - > 178.18.185.44 Port 9999
Public IP Address will be a translated to the Virtual Server IP Address (178.18.185.7).
I assume that you will have two different URL's (one for each Portal):
http://administration.website1.com
http://userportal.website2.com
Create two pools.
pool.administration.website1.com (Member: 178.18.185.43 Port 8080)
pool.userportal.website2.com (Member: 178.18.185.44 Port 9999)
Now you just need to route the traffic to the proper pool bases on which portal they need to go to. The Port Translation between the Virtual Server Port (80/443) will occur by default (Port Translation) on the Virtual Server, so it should not be a concern.
Apply iRule:
when HTTP_REQUEST {
switch [string tolower [HTTP::host]] {
"administration.website1.com" { pool pool.administration.website1.com }
"userportal.website2.com" { pool pool.userportal.website2.com }
}
}
If any of my assumptions are incorrect, just provide additional detail and we can help you get it all figured out.
Hope this helps.
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