Fortinet white logo
Fortinet white logo

CLI Reference

config vip

config vip

Description: Configures firewall vips.

Edit <name >

Set comment [255]

Set *extip <name1>

Set *mappedip <name1>

Set *extintf <name1>, <name2>, …

Set portforward [enable | disable]

Set *protocol <name1>, <name2>, … *only accessible when portforward is enabled

Set *extport (1 – 65535) *only accessible when portforward is enabled

Set *mappedport (1 – 65535) *only accessible when portforward is enabled

Unset

Next

Show

Abort

End

Delete <name >

Purge

Show

End

Sample command:

FX201E5919000057 (vip) # show

config firewall vip

edit 1

set comment this is a test vip

set extip 10.153.24.44

set mappedip 10.153.24.36

set extintf any

set portforward enable

set protocol tcp

set extport 25

set mappedport 33

next

end


                                        

config vip

config vip

Description: Configures firewall vips.

Edit <name >

Set comment [255]

Set *extip <name1>

Set *mappedip <name1>

Set *extintf <name1>, <name2>, …

Set portforward [enable | disable]

Set *protocol <name1>, <name2>, … *only accessible when portforward is enabled

Set *extport (1 – 65535) *only accessible when portforward is enabled

Set *mappedport (1 – 65535) *only accessible when portforward is enabled

Unset

Next

Show

Abort

End

Delete <name >

Purge

Show

End

Sample command:

FX201E5919000057 (vip) # show

config firewall vip

edit 1

set comment this is a test vip

set extip 10.153.24.44

set mappedip 10.153.24.36

set extintf any

set portforward enable

set protocol tcp

set extport 25

set mappedport 33

next

end