Hello, this is the first time I use Forticlient.
When I establish a VPN connection, I can reach the server but I can't navigate internet from my PC.
Is there a way to solve this issue without make changes on the Forticlient server side?
I'm using Windows 10.
Please, give me puntual instructions as I am not expert in configuring net and firewalls.
Thank you
Solved! Go to Solution.
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.
Open a cmd window with administrator privilleges. You need them to add/delete routes later on.
before you connect the vpn execute a "route print" in there and look for the Traget "0.0.0.0" - this is your default route. Note down the ip in the column "gateway" there.
Connect the vpn and then execute "route print" in the cmd again. You should notice that the gateway (and interface) for the default route has changed. Als note down that gateway ip.
Then do a "route delete 0.0.0.0" (I think "route delete default" might do aswell but not sure).
Then do a "route add 0.0.0.0 MASK 0.0.0.0 <gateway ip you noted down before connecting vpn>"
At this point you should regain internet connectivity again.
To still be able to reach to your compan servers you might have to analoguely add a static route to the company subnet with corret subnetmask and the gateway you noted after connecting the vpn.
You don't need to enter interface or metric here.
--
"It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams
that depends on your company :)
As said you should note down the default gateway before AND after connecting the vpn so you have the ip.
Then it would be "route add <yourcompanysubnet> MASK <subnetmask> <gateway ip after connecting the vpn>"
--
"It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams
Hello Max,
I suspect that this is happening because all the traffic is send to your internal network.
In this case split tunnel is a solution.
You can configure split tunnel by following the below doc:
An other solution in case you wan to sent this traffic to the firewall is to configure a firewall policy to allow traffic from the ssl vpn to your internet facing interface.
this usually happens when yo don't use split tunneling on your VPN. Without split tunneling all Traffic will be routed through the vpn because establishing the vpn in this case overwrites your default route.
This means that ALL traffic that does not match any outher route on your client will use the new default route and hit the opposite end of your vpn. If then there is no policy that allows vpn clients to reach the internet you will no longer have internet connectivity on your pc.
So either create such a policy or enable split tunneling.
--
"It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams
Thank you both for replying.
For what I understood, I should have access to Fortigate configuration. Is this correct?
I can't do it as the VPN is managed by the company I'm working for.
Is there any setting I can do on my own pc to solve this issue?
hm if your company admins will not configure split tunneling or an internet policy you can only temporarily work around that by resetting your routing manually. This has to be done everytme once vpn is established.
You would then have to delete the default route and set a new one (which gateway cab be looked up in routing table when the vpn is not established). Then additionally set a route to your company subnet over the vpn.
Deleting the default route (and setting a new one) in windows 10 might however require administrator privileges though.
--
"It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams
I have admin privileges on my pc, hence I could do what you suggested. But I don't know how ..
May you tell me the steps to do it on Windows 10 or give me a link to examples/documentation?
As I wrote before, I've got no knowledge of configuring firewalls and net routes.
Here's a link to show you how to manage windows routing table:
https://www.howtogeek.com/howto/windows/adding-a-tcpip-route-to-the-windows-routing-table/
Open a cmd window with administrator privilleges. You need them to add/delete routes later on.
before you connect the vpn execute a "route print" in there and look for the Traget "0.0.0.0" - this is your default route. Note down the ip in the column "gateway" there.
Connect the vpn and then execute "route print" in the cmd again. You should notice that the gateway (and interface) for the default route has changed. Als note down that gateway ip.
Then do a "route delete 0.0.0.0" (I think "route delete default" might do aswell but not sure).
Then do a "route add 0.0.0.0 MASK 0.0.0.0 <gateway ip you noted down before connecting vpn>"
At this point you should regain internet connectivity again.
To still be able to reach to your compan servers you might have to analoguely add a static route to the company subnet with corret subnetmask and the gateway you noted after connecting the vpn.
You don't need to enter interface or metric here.
--
"It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams
I have done everything and I added the static route in this way: "route add 0.0.0.0 MASK 0.0.0.0 10.200.102.120"
But this part, I didn't understand:
"To still be able to reach to your compan servers you might have to analoguely add a static route to the company subnet with corret subnetmask and the gateway you noted after connecting the vpn.
You don't need to enter interface or metric here."
Which command I have to enter? May you kindly show me?
Hi,
I googled this reply and meet the same issue.
I am using win10 and using FortiClient VPN Only version. When I connect the vpn, my internet down and no one can use remote desktop to connect my PC either.
I checked the route table and there is one new route for 0.0.0.0, so there are two 0.0.0.0 routes.
But when I try to use 'route delete 0.0.0.0' command, it only delete the system default one, and cannot delete the one which VPN client add.
Can you give some hints?
Thanks!
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 |
---|---|
1663 | |
1077 | |
752 | |
446 | |
220 |
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.