FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

11942 questions

14214 answers

22417 comments

35393 members

0 votes
185 views 2 comments
by
Hello,

I got wireguard up and running i am using a rutx9 as server and my clients are windows.

Everything works fine but i have on issue i would like to get rid of.

my rut has 2x WAN one trough mobile and one is a fixed line on the wan port.

now the teltonika picks up the fixed line as a public ip instead of the mobile.

the work around for now is giving mobile a higher metric then my fixed line but i do now want that cause now everything goes trough the mobile connection.

Is this something needed to be fixed trough routing or anything else.(fixed line is a dynamic ip)

What info do you need from me to look into this.

BR,

Tansu

2 Answers

0 votes
by
Hello, this is Martín, Tech Support Engineer from Teltonika Networks.

Can you please provide us with a detailed network topology diagram to have an idea of the solution you are implementing?

Best regards.
0 votes
by
Might be a problem of mwan(3?) configuration, for auto failover in case of lost internet connection. Dunno the Teltonika stuff, only official openwrt, but usually the fixed connection is preferred connection, and cell is backup. So verify the order (implicit priority) of internet connection in the settings for failover. May be, you simply have to change it.
by
Hi,

Yes this is the problem.

if i give my cell a higher metric its gone i can connect no problems.

but the thing is if set the cell on the first metric all my traffic outside the vpn is also using this connection so its uses more bandwith and i do not want that.
by
Then you need special routing for wg. Unfortunately, this is not so easy to set up in combo with mwan(3), even on RUT955, based on "official" openwrt. However, I suspect, still lot easier to implement there, compared  to mess around with all the (redundant ?) overhead when running Teltonikas stuff. RUT955 runs official openwrt; I used it for large fleet of data concentrators in IoT.