Forum Discussion
Feb 26, 2019
I believe this seems to do what you are asking.
curl -sku admin:admin https://192.168.10.23/mgmt/tm/ltm/snat -H "content-type:application/json" -d '{
"name": "test2",
"partition": "Common",
"autoLasthop": "enabled",
"mirror": "disabled",
"sourcePort": "preserve",
"translation": "/Common/192.168.1.3",
"vlansEnabled": true,
"vlans": [
"/Common/EXTERNAL"
],
"origins": [
{
"name": "::/0"
},
{
"name": "0.0.0.0/0"
}
]
}'