hello everyone,
i'm new to the forum and was wondering if it was possible to achieve what i asked in the subject.
to summarize...
The will is to have a captive portal, on fortigate, with local authentication, that allows me to steal the public source ip of the user, which will then be enabled, in some ad-hoc policies.
the most likely use, would be to access the firewall configuration interface, where in the policy a specific user is identified, who has just authenticated on the captive portal, coming from the internet...
another situation, the possibility of accessing other devices, such as video devices, with the same system...
thanks.
Hello luccosen,
Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.
Thanks,
Just for information, this type of service works regularly on other brands, and I would have liked to leave this service to the customer....
thanks.
Hello,
We are still looking for an answer to your question.
We will come back to you ASAP.
Thanks,
Hello luccosen!
I found this solution. Can you tell me if it helps, please?
To set up a captive portal on FortiGate with local authentication and use the public source IP of the user for policy enforcement, follow these steps:
This setup allows you to control access based on user authentication and their public IP, enabling specific policies for accessing the FortiGate interface or other devices.
ok, but the customer have one WAN interface fort internet connection... about you configuration, you said that I have to create a newer interface for thi s service with new ip address? or I have to delete/modify the old wan interface? then, how can assign pubblic ip of user that is logged-in? I have to put user as source?
Thanks.
To implement a captive portal with local authentication on a FortiGate with a single WAN interface, follow these steps:
This setup allows you to control access based on user authentication without needing to modify your existing WAN interface.
Does it answers your questions? :)
Thanks again, but maybe I explained myself badly in the request,
the need is to have a portal where a user coming from the WAN can authenticate, using the existing WAN connection, and it seems to me that in the WAN interface this thing cannot be done, and thanks to this authentication, the firewall acquires its source IP.
This IP, which is variable based on where it comes from, can then be used, by putting the username inside various policies, allows incoming transit from the WAN only for the aforementioned user, and this authentication must not interfere with existing policies.
The first solution required the creation of a new interface, the second solution I did not understand how it can take the public address of the user, if the interface with the portal is the LAN...
Did I misunderstand? a portal cannot be created on a fictitious lookup interface, where do I land a VIP? and then use the user in some policy?
thanks.
Yes, it is possible to set up a user authentication portal via the existing WAN connection that captures the source IP and associates it with user policies. This can be achieved by configuring an external captive portal server using FortiAuthenticator, translating the portal URL to the FortiGate WAN IP, and setting up a Virtual IP (VIP) to map traffic to the internal IP of the captive portal server. This setup allows capturing the user's public address and associating it with user policies.
Note that these answers are from a GPT engine, sorry if it is not really accurate. If it is not, please open a TAC ticket with your configuration and they will be happy to assist you!
Thanks, I assume then, that at the moment is impossible to realize, with only a firewalll. I can try to open a TAC.
Luciano.
User | Count |
---|---|
2587 | |
1378 | |
796 | |
658 | |
455 |
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 2025 Fortinet, Inc. All Rights Reserved.