#config firewall vipDebug logs:
edit "SSH_TO_VMX_INST"
set extip 10.5.81.21
set extintf "mgmt"
set portforward enable
set mappedip "10.10.10.2"
set extport 2211
set mappedport 22
next
edit "HTTPS_TO_VMX_INST"
set extip 10.5.81.21
set extintf "mgmt"
set portforward enable
set mappedip "10.10.10.2"
set extport 4443
set mappedport 443
next
end
#config firewall vipgrp
edit "VMX_INST"
set interface "mgmt"
set member "HTTPS_TO_VMX_INST" "SSH_TO_VMX_INST"
next
end
#config firewall policy
edit 1
set name "SSH_TO_VMX_INST"
set srcintf "mgmt"
set dstintf "sync"
set srcaddr "all"
set dstaddr "VMX_INST"
set action accept
set schedule "always"
set service "ALL"
set logtraffic all
set fsso disable
next
end
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.