# config vpn ssl settingsIn the above configuration, connectivity is restricted to ssl vpn only when sourcing from ‘Geo_restriction_ssl_vpn’. However, when the users try to connect, the authentication rule config ‘set source-address 'all'’ takes precedence and any user is able to connect to the portal ‘Internet’.
set servercert "Fortinet_Factory"
set tunnel-ip-pools "SSLVPN_TUNNEL_ADDR1"
set tunnel-ipv6-pools "SSLVPN_TUNNEL_IPv6_ADDR1"
set port 444
set source-interface "wan1"
set source-address "Geo_restriction_ssl_vpn"
set default-portal "Internet"
config authentication-rule
edit 1
set source-interface "wan1"
set source-address "all"
set groups "VPN_users"
set portal "Internet"
next
end
# config vpn ssl settings
set servercert "Fortinet_Factory"
set tunnel-ip-pools "SSLVPN_TUNNEL_ADDR1"
set tunnel-ipv6-pools "SSLVPN_TUNNEL_IPv6_ADDR1"
set port 444
set source-interface "wan1"
set source-address "Geo_restriction_ssl_vpn"
set default-portal "Internet"
# config authentication-rule
edit 1
set source-interface "wan1"
set source-address "Geo_restriction_ssl_vpn"
set groups "VPN_users"
set portal "Internet"
next
endRelated Articles
Technical Note: SSL VPN source-interface setting in authentication rule taking precedence
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.