Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Not applicable

Logging out???

Dear Friends, I' m using FortiGate 100A and I have conifigured the access by authentication page (by the vay of external radius). All works fine but, whena client want to logout, what is the page to go for logging out? In other words how a client can logout from the connection? Best regards Renzo Rucco
12 REPLIES 12
Carl_Wallmark
Valued Contributor

Hi, and welcome, I think you have to enable a " keepalive" webpage from the CLI, check the documentation at docs.fortinet.com its a small webpage that will be running in the background, and i think it has a " logout" button on it.

FCNSA, FCNSP
---
FortiGate 200A/B, 224B, 110C, 100A/D, 80C/CM/Voice, 60B/C/CX/D, 50B, 40C, 30B
FortiAnalyzer 100B, 100C
FortiMail 100,100C
FortiManager VM
FortiAuthenticator VM
FortiToken
FortiAP 220B/221B, 11C

FCNSA, FCNSP---FortiGate 200A/B, 224B, 110C, 100A/D, 80C/CM/Voice, 60B/C/CX/D, 50B, 40C, 30BFortiAnalyzer 100B, 100CFortiMail 100,100CFortiManager VMFortiAuthenticator VMFortiTokenFortiAP 220B/221B, 11C
ede_pfau
SuperUser
SuperUser

Authentication happens at various places in FortiOS. As you can authenticate via HTTP (browser) but also via telnet or ftp, there is no general " logout" feature. Instead, disconnection is done via timeouts. For firewall auth (identity based policy), - the auth-timeout which prompts the user to re-authenticate anyway, idle or not.
config user setting
     set auth-timeout <minutes_int>
 end
 
or in the GUI: User>User>Authentication: Authentication Timeout (1-480 min) For SSL VPN, there are 2 timeouts: - the idle timeout which disconnects the user if there is no traffic - the auth-timeout which prompts the user to re-authenticate anyway, idle or not. Both can be set in the CLI:
config vpn ssl settings
 set idle-timeout <seconds_int>
 set auth-timeout <seconds_int>
 end
or in the GUI: VPN>SSL>Config: Idle Timeout (1-28800 sec).
Ede Kernel panic: Aiee, killing interrupt handler!
Ede Kernel panic: Aiee, killing interrupt handler!
Not applicable

I made the activation of auth-keepalive as follow config system global set auth-keepalive enable end and my conf now is config system global set auth-keepalive enable set auth-secure-http enable set auth-type http https set authtimeout 10 set dst enable set hostname " FG100Axxxxxxxxx" set ntpserver " pool.ntp.org" set syncinterval 60 set timezone 26 end but none windows show the logout link. Can you help me... Best regards Renzo
Not applicable

The question is as follows: I have to configure access to a laboratory used by students for access to the Internet. Authentication is done through an external RADIUS server and works fine. When a student sits at the station is authenticated, browse, and then goes away. If you do not log out, when another student sits down, the session is still active and continues to browse with the credentials of other students. Best regards Renzo Rucco
Not applicable

Excuse me but what is the logout url?; how made it is? Anyone can help me? Best regards Renzo Rucco
Not applicable

Excuse me, but it is possible that there is no way to directly call a url to do a logout from the authenticated session ? Excuse me if I insist but are completely blocked at this stage that if I fail, I will be forced to leave the FortiGate. Best regards Renzo
Fullmoon
Contributor III

what if open a ticket to fortinet itself to confirm whether the feature that your looking for is possible or not.

Fortigate Newbie

Fortigate Newbie
ede_pfau
SuperUser
SuperUser

Authentication happens at various places in FortiOS. As you can authenticate via HTTP (browser) but also via telnet or ftp, there is no general " logout" feature. Instead, disconnection is done via timeouts.
Sorry for quoting myself. This is the answer to your question, and the reason for it. It is true that during SSL VPN a second browser window is opened. In this window a small script is executing which keeps the auth timeout from expiring. If you close that window the auth timeout will expire and the user will be forced to re-authenticate. This is not what you were looking for but as it was mentioned I thought to clarify this. What you could do is set the auth timeout quite short - but this will annoy users that are on longer sessions. There is no " session tear-down" when an authenticated user quits as the firewall will never know he quit - there is no feedback from the user.
Ede Kernel panic: Aiee, killing interrupt handler!
Ede Kernel panic: Aiee, killing interrupt handler!
TopJimmy
New Contributor

Would another option be to use FSAE? If the user is authenticated to the AD domain or eDir, then it allows access. If the user logs out of the AD domain or eDir, then it deauthenticates them from the firewall. Correct? follow up: I do think Fortinet should put a " logout" process in it for firewall authentication. They do it for SSL VPN and for admin access so why not for end users.
-TJ
-TJ
Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors