Deco X50 with OpenVPN and push route
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
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
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.
- Copy Link
- Report Inappropriate Content
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,
- Copy Link
- Report Inappropriate Content
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.
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 209
Replies: 3
Voters 0
No one has voted for it yet.