I could access servers in intranet with L2TP connection. Could I connect internet at the same time?
I am using Fortigate 100F in v.6.2.3
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
You will be able to access both intranet and internet. Just like intranet access policy, you will have to create a policy towards WAN interface.
Ex.
config firewall policy edit 1 set name "l2tp negotiation" set srcintf "L2tpoIPsec" --------> Name of interface set dstintf "WAN" set srcaddr "all" set dstaddr "all" set action accept set schedule "always" set service "all" next
Refer to the below documentation for L2TP over IPsec
https://docs.fortinet.com/document/fortigate/6.2.12/cookbook/386346/l2tp-over-ipsec
Created on 02-09-2023 04:55 PM Edited on 02-09-2023 11:58 PM
Thanks for your help. I follow your steps to create new policy but still unable to access internet, intranet is fine.
Policy Rule 1 works, there is data get through it, 113.48kB
Is there a problem with gateway? 0.0.0.0?
Assigned IP is correct, 192.168.254.252
Is there anyone can help?
What does traceroute show from the VPN-connected endpoint?
You also very likely need to enable "NAT" on the policy since it looks like your L2TP clients are receiving RFC1918 addressing.
Finally, it works when i enable "NAT" to Policy "l2tp negotiation".
Thanks a lot.
Unfortunately, after setting L2TP, i found android 12 block pptp and l2tp, only IKEv2 can use.......
Does Fortigate OS 6.2 support IKEv2 VPN?
Yes IKEv2 is supported on 6.2.
https://docs.fortinet.com/document/fortigate/6.2.12/cli-reference/338620/config-vpn-ipsec-phase1
Either you route the internet traffic on your FGT with some policy and have the vpn modify the default route on client to send everything to the FGT.
Or you enable split tunneling. This will keep the VPN from touching client default route but instead push routes to the subnets/hosts you specify in split tunneling.
hth
Sebastian
--
"It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams
Oh and yes default gw 0.0.0.0 is definitely not correct. That will not work.
--
"It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1547 | |
1031 | |
749 | |
443 | |
210 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.