Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
Create an address group with the specific websites as FQDNs.Firewall > Address > Address Create New name: server1 // whatever Type: FQDN FQDN: www.allowedserver1.com Interface: Any OK Repeat for every server.
Specify the source host (as another address object, a single address like 192.168.44.14/32).Now create the source address object: Create New name: mysourcehost // whatever Type: Subnet / IP Range Subnet / IP Range: 192.168.14.77/32 // fill in correct IP address Interface: Any OK Now create an address group: Firewall > Address > Group Create New name: allowed_servers members: select the servers created above OK
Use it in a policy from ' internal' to ' wan' as the destination.Firewall > Policy > Policy Create New Source Interface: internal Source Address: mysourcehost // whatever specified above Dest. Interface: wan1 Dest. Address: allowed_servers Service: ANY Schedule: always action: ACCEPT NAT: enable OK
Place that policy above all other policies in the policy table which are less specific.Now you see the Policy Table. Open the section ' internal' ->' wan1' and move the new policy to the top of all policies (right click on policy, ' move' ). This cannot be the only policy, otherwise all other hosts will not be able to reach the internet. So: Firewall > Policy > Policy Create New Source Interface: internal Source Address: mysourcehost // whatever specified above Dest. Interface: wan1 Dest. Address: ALL Service: ANY Schedule: always action: DENY OK Firewall > Policy > Policy Create New Source Interface: internal Source Address: ALL Dest. Interface: wan1 Dest. Address: ALL Service: ANY Schedule: always action: ACCEPT NAT: enable OK Now you have 3 policies. Their sequence must be: 1. allow mysourcehost to allowedservers 2. DENY mysourcehost to anywhere (else) 3. allow ALL (others) to anywhere And now, test.
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 |
---|---|
1634 | |
1063 | |
751 | |
443 | |
210 |
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.