Professional Documents
Culture Documents
How To Configure IPv4, Grouping and Policy in Fortigate Firewall - Technology Software Center
How To Configure IPv4, Grouping and Policy in Fortigate Firewall - Technology Software Center
In this article, we will give you some information about how to do routine operations such as IPv4 address creation, grouping, and policy creation on your
Fortigate Firewall devices through CLI console.
First you can access the CLI console via the web interface or SSH with Putty.
I want to give you some brief information about the commands first.
The
“Config“ command allows you to move to the configuration section.
The “Edit“ command is used to create or edit as needed.
The “Next“ gives you a chance to make a new operation in the corresponding config directory.
The “End“ command is used to exit config. We can start now.
https://techsoftcenter.com/how-to-configure-ipv4-grouping-and-policy-in-fortigate-firewall/ 1/5
12/11/2021 13:30 How to configure IPv4, Grouping and Policy in Fortigate Firewall? – Technology Software Center
Fortigate Firewall
Fortigate Firewall
Now we create an IP group and add the IP addresses we created above to this group,
https://techsoftcenter.com/how-to-configure-ipv4-grouping-and-policy-in-fortigate-firewall/ 2/5
12/11/2021 13:30 How to configure IPv4, Grouping and Policy in Fortigate Firewall? – Technology Software Center
Fortigate Firewall
Now we control our operations through the firewall interface. If you look at our addresses and group has been created.
Fortigate Firewall
Now we create a policy rule. For example, we create a policy rule without restrictions.
https://techsoftcenter.com/how-to-configure-ipv4-grouping-and-policy-in-fortigate-firewall/ 3/5
12/11/2021 13:30 How to configure IPv4, Grouping and Policy in Fortigate Firewall? – Technology Software Center
5 set name “testpolicyugur”
6 set srcintf “lan”
7 set dstintf “wan2”
Note: ID number for ”Edit 55 ”policy, If you give the ID number of a used policy, that policy will be edited.
Note: set srcaddr “all“ da in this section we could specify the address group we created above and customize the rule to these addresses only.
https://techsoftcenter.com/how-to-configure-ipv4-grouping-and-policy-in-fortigate-firewall/ 4/5
12/11/2021 13:30 How to configure IPv4, Grouping and Policy in Fortigate Firewall? – Technology Software Center
Fortigate Firewall
We check from the web interface, no problems appear. We see that all the settings we specify are created as intended.
Fortigate Firewall
Fortigate Firewall
You can do the above and similar configuration tasks on the Fortigate firewall using the correct commands through the CLI console.
https://techsoftcenter.com/how-to-configure-ipv4-grouping-and-policy-in-fortigate-firewall/ 5/5