VPN Client default gateway
I have to access my customer's VPN.
He provided me the .ovpn (OpenVPN) client conf file.
If I use the .ovpn file directly on my PC, in a OpenVPN client, everything works fine. I can reach the remote networks and my default traffic (not for the VPN networks) goes directly to the Internet.
When I use the same file on my router AXE75, _ALL_ traffic goes through the VPN!!! Why?
I want that _ONLY_ the traffic towards my customer networks (which his VPN server pushes) to go over the VPN. Like my PC does.
Can anyone support?
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
Hello, thank you for posting on the TP-Link Community.
For the issue you reported, please open the .ovpn client conf file and add the following 4 lines, then please test if the problem can be resolved.
route 0.0.0.0 192.0.0.0 net_gateway
route 64.0.0.0 192.0.0.0 net_gateway
route 128.0.0.0 192.0.0.0 net_gateway
route 192.0.0.0 192.0.0.0 net_gateway
- Copy Link
- Report Inappropriate Content
Hello, thank you for posting on the TP-Link Community.
For the issue you reported, please open the .ovpn client conf file and add the following 4 lines, then please test if the problem can be resolved.
route 0.0.0.0 192.0.0.0 net_gateway
route 64.0.0.0 192.0.0.0 net_gateway
route 128.0.0.0 192.0.0.0 net_gateway
route 192.0.0.0 192.0.0.0 net_gateway
- Copy Link
- Report Inappropriate Content
@Sunshine , thank you very much.
It did the trick ;)
BTW, is there a way to view more router conf details? Mainly the dynamic ones like routing tables, NAT table, name servers, etc.?
Some kind of CLI (even if read-only) where I could execute some ifconfig, nslookup, even ping and tracert, etc.
I'm checking where the traffic is going through, by using traceroute (tracert in windows) on a device connected to my LAN :P
- Copy Link
- Report Inappropriate Content
Hello, for the routing table, you could check it on the router web interface: Advanced->Network->Routing, but I am afraid CLI etc. are not supported.
- Copy Link
- Report Inappropriate Content
Hi, thank you very much! I did found the routing table.
BTW, as you were able to answer this .ovpn issue on the Archer AXE75, I do have an issue, with completely opposite behavior, on another TP-Link router (business line), the ER605 (TL-R605). I'm hopping you could provide some useful hints as well...
In this case, using the very same .ovpn configuration file I have the opposite behavior :( . No traffic over the VPN, because I have NO routes for the tunnel in the routing table!!
I only have the local VPN network (you know, no "next hop", just the network on the tunnel interface).
It seems that the router doesn't learn the routes pushed by the VPN server!
Do you have any ideas that you could share? :)
Thanks in advance anyway.
--
PS: I posted a question regarding this issue with the complete information:
https://community.tp-link.com/en/business/forum/topic/610858
- Copy Link
- Report Inappropriate Content
Hello, do you mean the .ovpn configuration file used on ER605 also added the 4 lines I sent you?
If you remove the 4 lines for ER605, will it work as expected? If it still doesn't work properly, it is recommended to start a new thread on the business community.
- Copy Link
- Report Inappropriate Content
Hi @Sunshine ,
I tried the pristine version (without your 4 lines) first. It didn't work.
Then I tried the version with the 4 lines. It didn't work either :(
I already started a thread on the business comunity.
Thank you for your time :)
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 1063
Replies: 6
Voters 0
No one has voted for it yet.