- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could I connect internet after connecting L2TP over IPSec to company
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
- Labels:
-
FortiGate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Kavya
Created on 02-09-2023 04:55 PM Edited on 02-09-2023 11:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there anyone can help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Graham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes IKEv2 is supported on 6.2.
https://docs.fortinet.com/document/fortigate/6.2.12/cli-reference/338620/config-vpn-ipsec-phase1
Graham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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