This Below link tells you how to configure local in policy:
https://docs.fortinet.com/document/fortigate/6.2.13/cookbook/363127/local-in-policieshttps://community.fortinet.com/t5/FortiGate/Technical-Tip-Filter-ingress-traffic-going-to-the-FortiGate/t...