Fortigate local authentication for external users not working
Hello,
I am facing a difficulty where the firewall is not showing the login page so that users can insert their login credentials.
<Internet Users(40.126.25.65)>--------<(12.12.12.12)Fortigate(10.10.10.10)>------------<(192.168.100.2)server>
On the FortiGate, there are users, placed in a user group, and the group is assigned to a VIP server policy.
The idea is that the external users enter the following link https://publicIP:8443, and then get to authenticate, but the login page does not appear.
RULE test:
zone src untrust
zone dst trust
source all + user group
destination VIP
server certificate
service all
config user setting
set auth-type http https ftp telnet
set auth-cert ''
set auth-ca-cert ''
set auth-secure-http disable
set auth-http-basic disable
set auth-ssl-allow-renegotiation disable
set auth-src-mac disable
set auth-on-demand implicitly
set auth-timeout 5
set auth-timeout-type idle-timeout
set auth-portal-timeout 3
set radius-ses-timeout-act hard-timeout
set auth-blackout-time 0
set auth-invalid-max 5
set auth-lockout-threshold 3
set auth-lockout-duration 0
set per-policy-disclaimer disable
set auth-ssl-min-proto-version default
unset auth-ssl-max-proto-version
set auth-ssl-sigalgs all
end
config authentication scheme
edit "Rev_Proxy"
set method basic
set user-database "local-user-db"
next
end
config authentication rule
edit "Rev_Proxy"
set status enable
set protocol http
set srcintf "z-untrust"
set srcaddr "all"
set ip-based disable --------- changed for testing but no luck
set active-auth-method "Rev_Proxy"
set web-auth-cookie disable
set transaction-based disable
set web-portal enable
set comments ''
next
end
Even with a user group in the rule:
func=__iprope_user_identity_check line=1825 msg="ret-no-match" then it matches the deny policy. No much idea why the firewall won't show the login page when external users are trying the link https://publicIP:8443...?
