Configuring FortiClient SSL VPN Tunnel
Configuring FortiClient SSL VPN Tunnel
To configure SSL VPN tunnel mode client settings, navigate in the Local-FortiGate GUI to VPN > SSL-VPN Settings and set options such as listening interface (port1) and port (10443) while allowing access from any host . Routing for secure access is established by selecting the tunnel-access portal in VPN > SSL-VPN Portals, clicking Edit, and setting the Routing Address Override field to LOCAL_SUBNET .
Configuring 'Restrict Access' in SSL VPN tunnel mode is critical to define and control which hosts are allowed to connect, mitigating unauthorized access. In the configuration, it is set to 'Allow access from any host', a default configuration that could increase vulnerability if not adjusted per security policies .
An SSL VPN user session can be monitored from the FortiGate GUI by navigating to Dashboard > Network and viewing the SSL-VPN widget where user connections such as 'student' from remote host '10.200.3.1' are displayed. To end a session, right-click the user and select 'End Session', confirming with OK. The terminated session no longer appears in the monitor .
Leaving 'NAT' disabled in the SSL VPN firewall policy implies that original source IPs are maintained for traffic exiting through the interface. This configuration affects data routing by ensuring traffic can be correctly returned to its source, preserving client IP addresses for logging, tracking, and routing through the established VPN path .
FortiClient on the Remote-Client VM is configured by opening the application, entering the Server IP '10.200.1.1', and setting Customize port to '10443'. User credentials 'student' and 'fortinet' are entered before connecting. The connection is verified by accessing 'http://10.0.1.10' via Firefox, confirming the remote connection to the local subnet .
To enable SSL VPN settings in the FortiOS version 7.4 GUI, enter the CLI command 'config system settings set gui-sslvpn enable end' . After enabling the GUI, set up a user for SSL VPN access by logging into the Local-FortiGate GUI with admin credentials, navigating to User & Authentication > User Definition, creating a new Local User with username 'student' and password 'fortinet', and adding the user to the SSL_VPN_USERS group .
'Tunnel-up' log entries in the VPN events, which can be accessed in the FortiGate GUI under Log & Report > System Events by applying a filter for Action = tunnel-up, reveal the remote user's gateway (Remote IP) and the virtual network adapter's Tunnel IP assigned by FortiGate .
Setting 'Inspection Mode' to 'Flow-based' benefits the firewall policy by reducing overhead and improving performance efficiency as packets are streamed through the inspection engine. This mode enables real-time analysis and threat detection without the need for full content reassembly, influencing traffic handling by optimizing speed and resource usage .
Create a firewall policy by accessing Policy & Objects > Firewall Policy on the Local-FortiGate GUI. Configure the policy with Name 'SSL-VPN-Access', Incoming Interface as SSL-VPN tunnel interface (ssl.root), Outgoing Interface as port3, Source Address from SSLVPN_TUNNEL_ADDR1, User as SSL_VPN_USERS, Destination as LOCAL_SUBNET, Schedule set to always, Service to ALL, Action to ACCEPT, with Flow-based Inspection mode, and NAT disabled .
'Portal Mapping' settings for 'All Other Users/Groups' direct users to specific portals that determine access and resources available. The default portal setting is 'tunnel-access', which ensures users connect through tunnel mode, providing a consistent and controlled access experience across users while enforcing policies .