Is there a way to geo lock access to Windows IKEv2 native VPN on Fortigate (same as one can do with SSL VPN)?
Seb
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hello @scerazy ,
According to my research, there is no option to restrict incoming connections to dial-up-only VPNs.
You can use local-in-policy for that. But if you configure local-in-policy, that policy affects all ipsec vpn. Because these types of VPNs use the same TCP/UDP ports.
If you want to get more information about local-in-policy you can review these articles.
https://docs.fortinet.com/document/fortigate/7.4.4/administration-guide/363127/local-in-policy
Hello @scerazy ,
Yes, you can use negate option in local-in-policy. You can do this with the negate setting. The negate option means outside the object you use.
For example
config firewall local-in-policy
edit 0
set srcaddr-negate enable
end
Hello @scerazy ,
According to my research, there is no option to restrict incoming connections to dial-up-only VPNs.
You can use local-in-policy for that. But if you configure local-in-policy, that policy affects all ipsec vpn. Because these types of VPNs use the same TCP/UDP ports.
If you want to get more information about local-in-policy you can review these articles.
https://docs.fortinet.com/document/fortigate/7.4.4/administration-guide/363127/local-in-policy
Would there be an easy way to do the opposite? Block all, but only allow X Y Z ?
I still do not see how/why local-in is different than normal rules
edit
firewall policy is for traffic going THROUGH the FortiGate.
Local-in is for traffic going TO the FortiGate.
Hello @scerazy ,
Yes, you can use negate option in local-in-policy. You can do this with the negate setting. The negate option means outside the object you use.
For example
config firewall local-in-policy
edit 0
set srcaddr-negate enable
end
Is GUI not capable displaying CLI created rule entry?
I cannot see it (it shows fine in CLI)
I did not mean to configure, just to display would be fine (but does not do that either)
It displays other existing bits, but not CLI configured policy
Fortinet do not provide such option, but if you'd like a user Danny created a Javascript bookmarklet that will do it for you:
Nice, thanks
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1733 | |
1106 | |
752 | |
447 | |
240 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.