Fortinet firewall VPN configuration
From Notes_Wiki
Home > Enterprise security devices or applications > Fortigate firewall > VPN configuration
Fortinet firewall SSL VPN configuration
To configure Remote SSL VPN in fortinet use:
- Go to Network -> Interfaces. See the names of WAN and LAN interfaces. Assuming VPN users will connect from WAN and then once they are connected to VPN, they need LAN access.
- Go to Network -> Static route and see the networks that are already in use. We want to avoid these networks for VPN. Similarly look at other places such as BGP, OSPF, Policy routes so that we can figure out all networks (IPs and subnets) that are already in use.
- Based on above plan for a VPN IP range. Go to "Policy & Objects" -> "Addresses" and create IP range for remote users "Remote User IP Range" (eg 10.10.10.10-10.10.10.50).
- This address range should not be used anywhere.
- It should not overlap with interface IPs or routes.
- We dont need fortinet firewall to have a gateway in this IP range. No need to add any loopback adapter.
- In "Policy & Objects" -> "IPv4 Policy" add forward and reverse rules from "SSL-VPN tunnel interface (ssl.root)" to LAN. Enable NAT on this rule..
- If VPN users should be able to connect to other zones / networks other than LAN, then we should allow that access also via policy.
- Go to "User & Device" -> "User Groups" and create group for VPN users
- Go to "User & Device" -> "User Definition" and create a VPN user which is member of VPN group created above.
- Go to "VPN" -> "SSL-VPN Portals" and create a portal. For this portal enable tunnel mode, leave web mode disabled. In source IP pools choose "Remote User IP Range"
- In tunnel mode split-access should be disabled if you want Internet access to also happen over VPN once VPN is connected. Disable it if you want Internet to continue normally even when VPN is connected.
- Go to "VPN" -> "SSL-VPN Settings"
- Enable SSL VPN on WAN interface noted earlier
- Choose appropriate port for VPN (eg 10043)
- Enable redirect HTTP to SSL VPN
- In Address range specify custom IP range and choose "Remote User IP Range"
- In portal mapping create mapping between the user group created and portal created.
- Save settings and test VPN access
Refer:
Home > Enterprise security devices or applications > Fortigate firewall > VPN configuration