Forum Discussion
immu
Altostratus
Aug 07, 2017VS configuration
Can any one help me as to how can I configure a VS with the backend server and port.
also I need to do port redirection form 80 to 443
Aditya_248044
Nimbostratus
Aug 08, 2017Hi,
In addition to above and to your redirection query.
- Create two VS with same Name and IPs but use port 443 and 80
- 443 will have all the configurations , Persistance ,Pool, Pool Members etc.
- In 80 VS add an iRule to redirect the connection to 443 VS
You can use the simple one:
when HTTP_REQUEST {
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
}
Regards,
Aditya
Aditya_Mehra
Cirrus
Aug 09, 2017Hi Immu,
It depends on the settings of the Virtual Server and Pools. You should refer to the Traffic Management Shell (tmsh) Reference Guide for your version.
For example this is for 11.5.0 : Guide
The command to create basic VS,Pool and Nodes will be the below:
tmsh create ltm node address
tmsh create ltm pool members add { : }
tmsh create ltm virtual destination : pool
But there are many more parameters which you will need to add; those you can check in the Traffic Management Shell (tmsh) Reference Guide for your version.
Regards,
AdityaRecent 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