Skip to content

101zh/FortiGate40FVPNLab

Repository files navigation

Configuring an IPsec dialup VPN server on a FortiGate 40F

This repository contains a configuration of a FortiGate 40F with an dialup IPsec VPN set up for a small office or home office. The screenshots of configuration steps in the GUI can be found in the steps.md file

Background information on lab concepts can be found in the respective write-up, which is located here: https://101zh.github.io/networking/

Contents

Purpose

The purpose of this lab is to configure a FortiGate 40F firewall with a secure IPsec remote access VPN, so that a remote client can initiate a tunnel connection to the firewall. Additionally, remote desktop protocol was configured on one of the lan PCs to simulate a practical use of a VPN in an office workplace.

Lab Summary

In this lab, a FortiGate 40F firewall was configured as a dial-up VPN server for remote FortiClient users. This allows the users to initiate a tunnel connection with the FortiGate, so that LAN resources can be accessed. In this case, the remote client will use remote desktop protocol to take control of PC 1, demonstrating a practical use of a VPN.

IPv4 Topology

This Topology is for IPv4. All 10.0.0.xx addresses are for the user LAN.

IPv4 Topology Image

Device Overview

  • One FortiGate 40F running v7.2.10
    • This is later updated to v7.6.6
  • One Cisco 3560 POE-38 running C3560-IPSERVICESK9-M Version 12.2(44)SE5

Copyright

MIT License

Copyright (c) 2026 101zh

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.z

Contributors