Blocking Inbound IPSEC Attempts
Hello,
We have a 61E connected to the Internet that is getting random attempts at building an IPSEC tunnel from random IP's. I want to block this traffic.
I've followed this tech note: https://kb.fortinet.com/kb/viewContent.do?externalId=FD36318&sliceId=1
I applied this local-in-policy:
FGT-61E # show firewall local-in-policy
config firewall local-in-policy
edit 1
set intf "wan2"
set srcaddr "all"
set dstaddr "all"
set service "ISAKMP"
set schedule "always"
next
end
However I'm still getting IPSEC connection attempts in the log.
Message meets Alert condition
date=2019-08-06 time=17:49:15 devname=<MY_DEVICE> devid=<MY_ID> logid="0101037131" type="event" subtype="vpn" level="error" vd="root" eventtime=1565135355014992767 tz="-0600" logdesc="IPsec ESP" msg="IPsec ESP" action="error" remip=<UNKNOWN_IP> locip=<MY_IP> remport=33225 locport=500 outintf="wan2" cookies="N/A" user="N/A" group="N/A" xauthuser="N/A" xauthgroup="N/A" assignip=N/A vpntunnel="N/A" status="esp_error" error_num="Received ESP packet with unknown SPI." spi="47455420" seq="2f204854"
Any idea why the local-in-policy didn't work? Anything else I can try?
