Fortigate L2TP IPsec vpn - Windows native
L2tp IPsec vpn configuration using GUI -
Below are the following steps what I have configured in Fortigate Firewall for L2tp IPsec vpn.
Step1 - Fistly created local user let's suppose - test, password test123.
Step2 - created one group the name of group vpn_group and added that local user in vpn_group.
Step3 - Now I went to VPN section and under the vpn section, selected IPsec Wizard.
Name - L2tp_IPsecvpn
template type - Remote access vpn
Remote device type - native then next windows native
Step4 - Authentication
preshared key - test@123
usergroup - vpn_group
Step5 - In Policy & Routing
Local interface - Port2 which is connected to LAN switch
Local address - 126.96.36.199/24
Client address range - 188.8.131.52 - 184.108.40.206
subnetmask - 255.255.255.255 (leave default)
then click ok.
Now Policy configuration -
Incoming interface - tunnel interface
Outgoing interface - port2 (which is connected to LAN switch)
source address - 220.127.116.11 - 18.104.22.168 (vpn range address)
outgoing address - local address ( 22.214.171.124/24)
internet services - all
Service - all
action - Ipsec
Applied security polices - IPS,APP,Antivirus
In windows machine -
Windows, click on Start >> Settings >> Network & Internet >> VPN >> Add a VPN connection.
server address - 192.168.77.2 (WAN interface IP of the fortigate firewall - port1)
vpn type - preshared key - test@123
username & password - test, test123
Blow is the network digram for example -
Having configured these things, My windows machine is not able to connecte through this L2tp Ipsec vpn.
Can you anybody have a look this configuration throughly and correct If in case of there are any missing.
thank you for your help.