Deco X50 with OpenVPN and push route

Deco X50 with OpenVPN and push route

Deco X50 with OpenVPN and push route
Deco X50 with OpenVPN and push route
2024-09-12 18:25:00
Model: Deco X50  
Hardware Version:
Firmware Version: 1.5.5 Build 20240718 Rel. 44414

Hi!

 

I have a Deco X50s running the OpenVPN server and a rasberry pi that connects to the server as client over the internet. This works very well - I can reach the server network (behind the Deco) from the client/rasberry and I can reach the client/rasberry from the server network.

 

Now, I would also like the devices on the network behind the rasberry to reach the server network. How can I achieve this? Usually I would add a "push route <network behind client> <netmask>" to client.conf in the client and this would tell the server to route traffic to <network behind client> through the tunnel. However, this does not seem to work with the Deco.

 

Is the Deco X50 supposed to support "push route ...", or is there another way to do this?

 

Best,

Marty

  0      
  0      
#1
Options
3 Reply
Re:Deco X50 with OpenVPN and push route
2024-09-13 08:02:59 - last edited 2024-09-13 08:15:35

  @MartyMcFly 

Hi, Welcome to the community.

In case there is any misunderstanding, could you please help me check the following details:

There is an OpenVPN server(#1) run on the Raspberry Pi, and also another OpenVPN server(#2) runs on the Deco X50.

The Raspberry Pi has been connected to the Deco X50 OpenVPN server.

You wish the OpenVPN Clients of Server (#1) to connect to Deco X50 OpenVPN Server(#2), right?

Why not import the OpenVPN config file of Deco directly on the final devices?

 

And I think you should configure the "Push Route" on the Raspberry Pi to let the Pi server route its OpenVPN client's traffic through the OpenVPN tunnel to Deco X50.

Thank you very much and best regards.

  0  
  0  
#2
Options
Re:Deco X50 with OpenVPN and push route
2024-09-13 09:01:49 - last edited 2024-09-13 18:31:49

  @David-TP 

Hi David,

 

Thanks for answering.

 

The Rasberry does not have a server, but an OpenVPN client running that connects successfully to the Deco OpenVPN server. The Raspberry (i.e the OpenVPN client) is also connected to a LAN with a bunch of devices and I want these devices to be able to communicate with the devices connected to the Deco, through the VPN tunnel.

 

Hope this clears things up a bit.

 

Best regards,

  1  
  1  
#3
Options
Re:Deco X50 with OpenVPN and push route
2024-09-14 06:08:38

  @MartyMcFly 

Hi, Thank you very much for your time and patience. That did clear things up.

 

I also consulted the engineer for further confirmation. The OpenVPN server configuration page on the Deco APP doesn't support adding a push route but you should be able to add route rules on the OpenVPN client config file, such as "route Destination IP/24 Interface IP/24 net_gateway"

I also googled a similar post for your reference: https://serverfault.com/questions/703734/how-to-configure-openvpn-server-to-add-route-for-new-clients

 

If you still experience challenges with configuring the route rules, it is suggested to send a copy of the current OpenVPN client config file to support.forum@tp-link.com and some IP details on the  Rasberry Pi and the devices on the network behind the Raspberry Pi. The engineer could help us modify the OpenVPN client config file.

 

Thanks again and best regards.

  0  
  0  
#4
Options

Information

Helpful: 0

Views: 200

Replies: 3

Related Articles