Configuring SSL VPN in Fortigate
Thanks to: https://forti1.com/
SSL VPN using web and tunnel mode
In this example, you will allow remote users to access the corporate network using an SSL VPN, connecting via web mode using a web browser, or via tunnel mode using FortiClient. Web mode allows users to access network resources, such as the AdminPC used in this example.
For users connecting through tunnel mode, traffic to the Internet will also flow through FortiGate, to apply security scanning to that traffic.
During the connection phase, the FortiGate will also verify that the remote user's antivirus software is installed and up to date. This recipe is in the FortiGate Basic network collection. You can also use it as a standalone recipe.
How to Create VPN
Editing the SSL VPN portal
- To edit the full access SSL VPN portal, go to VPN > SSL-VPN Portals. The full access portal allows the use of tunnel mode and web mode.
- Under Tunnel Mode, disable Enable split tunneling for IPv4 and IPv6 traffic to ensure that all internet traffic passes through the FortiGate.
- Set Source IP Pools to use the default IP range SSLVPN_TUNNEL_ADDR1.
Under Enable Web Mode, create predefined bookmarks for any internal resources that VPN users need to access. In the example, the bookmark allows the remote user RDP access to a computer on the internal network.
Configuring SSL VPN Tunnel
- To configure SSL VPN tunnel, go to VPN > SSL-VPN Settings.
- Set Listen on the interface (s) to wan1. To avoid port conflicts, set Listen on port to 10443.
- Set Restrict access to allow access from any host
Optionally set Restrict Access to Limit access to specific hosts and specify the addresses of hosts that are allowed to connect to this VPN. - In the example, the Fortinet_Factory certificate is used as the server certificate. To ensure traffic is secure, you must use your own CA-signed certificate. For more information about using certificates, see Avoiding Certificate Warnings (CA-Signed Certificates).
- Under Tunnel Mode Client Settings, set IP Ranges to use the default IP range SSLVPN_TUNNEL-ADDR1.
Comentarios
Publicar un comentario
Dime si la información de este blog te sirvio.