Techical Tip: How to change port mapping types in VIP
Description
This article describes how to change port mapping types in VIP.
Solution
When port forwarding in VIP configuration is enabled, get 1-to1 port mapping method is possible.
This will allow to map one 'External service port' to one 'Map to port'.

This article describes how to change port mapping types in VIP.
Solution
When port forwarding in VIP configuration is enabled, get 1-to1 port mapping method is possible.
This will allow to map one 'External service port' to one 'Map to port'.

To configure many to many port mapping, use the following command in CLI:# config firewall vip
edit "m-to-n-mapping"
set id 0
set uuid fc1c2f3e-1ca3-51ea-e859-32dc40031db9
set comment ''
set type static-nat
set extip 1.1.1.1
set extintf "any"
set arp-reply enable
set nat-source-vip disable
set portforward enable
set gratuitous-arp-interval 0
set ssl-client-rekey-count 0
set color 0
set mappedip "2.2.2.2"
set protocol tcp
set extport 60000-65000
set mappedport 60000-65000
set portmapping-type m-to-n <----- Port mapping type m-to-n (many to many).
next
end
In GUI, configure the range as below:

