- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Block access to SNMP service from internet
Hi,
Can anyone guide me how to block SNMP service from internet on fortinet.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We are assuming snmp access to the FGT? Use the snmp host entries and enable SNMP allowaccess only on the interface(s) that you need.
e.g cli
config hosts edit 1 set ip 12.130.11.0 255.255.255.0 next edit 2 set ip 207.18.1.8 255.255.255.255 next
edit 3 set ip 207.19.1.89 255.255.255.255 next end
PCNSE
NSE
StrongSwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for your reply,
Can we block ports like TC/UDP - 161, 162 for any incoming traffic from internet. or is there any other way to do this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Like emnoc said: Just disable the SNMP in the allow access settings of your WAN interface. This way the FortiGate doesn't listen on the SNMP ports anymore for this interface
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unless explicitly allowed, the Fortigate will silently dump any traffic pointed at it. If you don't open that interface to SNMP, it won't do anything with it but simply ignore it. From the GUI, simply allow the common protocols you wish to expose to the Internet. For security, I only allow HTTPS and PING. If I want secure shell, I open an SSL VPN tunnel and come in from the inside. HTTP on the outside interface is just plain silly.
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
