Wireguard proxy setup

Hello Teltonika,

My company has a use case where we have both a wired WAN connection (with a dynamic IP) and a mobile connection via SIM card (with a static IP). The WireGuard tunnel is set up through the mobile connection.

Is it possible to configure the router so that traffic coming from a WireGuard client is routed through the wired WAN connection?

In other words, a phone connected to the WireGuard should be able to access the wired WAN network.

Hi there,

What you’re looking for is probably Policy Based Routing which will allow you to select the Incoming interface and Outgoing interface: RUTX08 Routing - Teltonika Networks Wiki

I took RUTX08 as an example, but all of the devices are the same when it comes to configuring this (unless you’re running a legacy FW).

Regards,
M.

Hi Matas,

Thanks for trying to help.

Could you provide a config example for this specific use case?

I assume the same functionality could be achieved using the multi WAN feature. If so, could you also provide a configuration example too?

Thank you in advance.

Hello, Rum,

We do have a configuration example already available, I forgot to attach it in the previous message: Policy Based Routing - Teltonika Networks Wiki

Your request regarding Multi-WAN, do you mean that you would like to set this up for multiple internet sources? If so, I believe the above covers that as well.

Let me know if this helps or not.

Regards,
M.