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

Deny management / access from specific sources

Hello all 

i received multiple notification e-mails, multiple sources in china, try to access my fortigate via ssh ( Hack ).

how can  i deny these sources from access my UTM

1 REPLY 1
Carl_Wallmark
Valued Contributor

Hi,

 

You can try with "local-in-policy"

 

Assuming you have FortioS 5 or above:

1. Create a address object which contains "Geography" and select China as country.

2. Go to CLI and type:

 

config firewall local-in-policy     edit 0         set intf "wan1"         set srcaddr "China"         set dstaddr "all"                          <- This can be the IPs you want to deny access to         set service "SSH"

        set action deny         set schedule "always"     next end

 

 

FCNSA, FCNSP
---
FortiGate 200A/B, 224B, 110C, 100A/D, 80C/CM/Voice, 60B/C/CX/D, 50B, 40C, 30B
FortiAnalyzer 100B, 100C
FortiMail 100,100C
FortiManager VM
FortiAuthenticator VM
FortiToken
FortiAP 220B/221B, 11C

FCNSA, FCNSP---FortiGate 200A/B, 224B, 110C, 100A/D, 80C/CM/Voice, 60B/C/CX/D, 50B, 40C, 30BFortiAnalyzer 100B, 100CFortiMail 100,100CFortiManager VMFortiAuthenticator VMFortiTokenFortiAP 220B/221B, 11C
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors