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)

can anyone help me in this please

can you please elaborate your requirement.

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 }