Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Okabe
New Contributor

Blocking external IP addresses

Dear All,

 

I'm new to Fortigate and new to the forum. Anyway, I have a problem configuring policies for blocking unwanted access from some external/malicious IP addresses.

Here's what I did.

 

config firewall policy
    edit 4
        set uuid 10be693f-5610-45a9-bebc-c27bd394177f
        set srcintf "any"
        set dstintf "any"
        set srcaddr "group-blacklist"
        set dstaddr "all"
        set schedule "always"
        set service "ALL"
        set logtraffic all
    next
end

 

 

I have put the policy on top of the list. However, when I tried accessing my FW from blocked IP address, it still can go through and no traffic were recorded to the policy log. Am I missing any steps or is there any other way? Thank you guys.

 

Fortigate 60D

v5.2.6,build711 (GA)

1 Solution
ede_pfau

This is not about VIPs but administrative access to the FGT, right?

You can do 2 different things:

1- only allow certain public IPs to access the FGT (white listing) - go to System>Admin>myadmin>TrustedHosts

2- create a local-in policy which uses a predefined custom address group as source address(es). Local-in policies are only managed in the CLI.


Ede

"Kernel panic: Aiee, killing interrupt handler!"

View solution in original post

Ede"Kernel panic: Aiee, killing interrupt handler!"
11 REPLIES 11
Sunil_Panchal_NSE7

Dear friend ,

 

       there is simple solution to block ip to access WAN from outside just go to policy and Object and create address put you geographical address .

and put at source of policy which is access you wan from out .

It will block all world accept you region and if know the exactly the public IP address of you device to access the system then do same procedure an put them in to source of wan policy only that publi IP will able to access that device .

 

thank you 

with regards

 

 
 
Top World Networks Co.
شركة توب وورد نت ووركس
 

 

Sunil Panchal

IT Security Engineer

 

T: +965-2244 5419/391  | M: +965-6969 1505

F: +965-2246 7519          | E: sunil@topwnet.com

W: www.topwnet.com

 

PSave a tree! Don't print this e-mail unless it's really necessary.

 

RichSharp
New Contributor

I have the same issue.  Can anyone out there help>??

Labels
Top Kudoed Authors