Forum Discussion
Need tmsh script for the following query
Hello
Can anyone help me addressing the following query through tmsh script
Query: need to add the IPs and appropriate port pass through or translation.
The following are the public IPs and port configurations
206.X.X.X > 10.X.X.X1, 10.X.X.X2 (port 80 passthrough, port 443 translate to 10001)
3 Replies
- chakkaravarthy2
Nimbostratus
can anyone help me in this please - DevBabu
Cirrus
can you please elaborate your requirement.
- DEJ
Nimbostratus
Hello,
I'm unsure if you're requesting assistance in creating an actual script or to simply configure via CLI. Below is a very basic template for configuring via CLI. I would advise if you are unfamiliar with using tmsh in creating VIPs to create basic ones via CLI and then make adjustments via the GUI (or just create everything in GUI). You can then see the configuration of the new changes in CLI. If the VIP is being NATed, the destination IP would be the real IP.
Edge F5 with default tcp health check create ltm pool POOL-80 members add { 10.x.x.x1:80 10.x.x.x2:80 } monitor tcp create ltm pool POOL-10001 members add { 10.x.x.x1:10001 10.x.x.x2:10001} monitor tcp create ltm virtual VS-80 destination 206.x.x.x:80 pool POOL-80 vlans add { EXTERNAL-VLAN } create ltm virtual VS-443 destination 206.x.x.x:443 pool POOL-10001 vlans add { EXTERNAL-VLAN }
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