VPN Connection Problem

VPN Connection Problem

VPN Connection Problem
VPN Connection Problem
2024-08-28 11:56:11
Tags: #VPN
Model: Deco X50  
Hardware Version:
Firmware Version:

I try to connect my home Deco mesh to my remote Server via OpenVPN.

 

I'm using an OPNSense Firewall and OpenVPN on the Server side to connect, and when connecting an client via "OpenVPN Connect" it works flawlessly.

 

Connection my Deco's to the VPN works, but all allowed clients instantly loose the internet connection...

This is my .opvn file:

dev tun
persist-tun
persist-key
client
resolv-retry infinite
remote xxx.xxx.xxx.xxx 1194 udp
lport 0
verify-x509-name "xxxxxxxx" subject
remote-cert-tls server
auth-user-pass
route 192.168.10.0 255.255.255.0
sndbuf 393216
rcvbuf 393216

 

Any ideas, why my internet connection gets lost?

 

Thanks a lot, Herbert

  0      
  0      
#1
Options
2 Reply
Re:VPN Connection Problem
2024-08-30 12:24:37

  @Furymaster 

Hi,

 

We noticed that the OVPN file has traces of manually added routes.

 

The Deco will default to proxying all traffic to the VPN server.

Do you want the local traffic go through the Deco itself, while some traffic is routed to your server?

If so, please please add these few lines to the .ovpn file to meet your needs.

 

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

Nice to Meet You in Our TP-Link Community. Check Out the Latest Posts: Archer GE550 - BE9300 Tri-Band Wi-Fi 7 Gaming Router EasyMesh Is Available When Wi-Fi Routers Work in AP Mode as A Controller. Archer BE550 New Software Enhances System Stability and Optimizes MLO Network Stability. TL-WA3001 Supports EasyMesh, Speed Limit, Guest Network in AP Mode and/or Multi-SSID Mode. If you found the post or response helpful, please click Helpful. If an answer solves your problem, click "Recommended Solution" so that others can benefit from it.
  0  
  0  
#2
Options
Re:VPN Connection Problem
2024-08-30 13:23:48
Hi, thanks for your answer... I do want only the 192.168.10.0 routed through the VPN. That works with that configuration with the OpenVPN Client on macOS and Windows. Also I don't quite get what the 4 lines should do?
  1  
  1  
#3
Options