Hello,
I'm using FortiOS 7.
I need a rule that do this:
2 source server with ip1 and ip2
2 public ip, Pub1 and Pub2
I need the two servers ip1 e ip2 go in internet with Pub2 (not the default)
So I made a SNAT rule like the below, but do not work. What's wrong?
config firewall policy set name "LAB2 SNAT" set uuid cda48efe-f6c6-51eb-2f52-56f13adb9039 set srcintf "internal" set dstintf "wan1" set srcaddr "Ip1-Ip2" set dstaddr "all" set action accept set schedule "always" set service "ALL" set logtraffic all set nat enable set ippool enable set poolname "PUB2" next end
Hello,
Configuration looks good. I would recommend to verify by collecting debug flow output whether firewall policy is hit.
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1737 | |
1107 | |
752 | |
447 | |
240 |
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.