Wireguard VPN between RUTX50 (Client) and Unifi Dream Machine Pro (Server)

Hello everyone, I would like to set up a Wireguard VPN connection between a Teltonika RUTX50 and a Unifi Dream Machine (Pro).

The RUTX50 should act as a client and the Dream Machine as a server.

Unfortunately, I don’t understand the configuration of the RUTX50 Wireguard VPN correctly and I need help with which data I have to enter here and where so that the RUTX50 establishes the connection to the Dream Machine.

my current config on the UDM:

Since I am a new user in this forum, unfortunately I can only attach a single screenshot.

Thank you so much for your help and best regards
Benedikt

Maybe I could clarify my question further:

I have the “wireguard interface” on the RUTX50.
There I have a private and a public key and the IP addresses field. What do I have to enter/take over here?

And then there are the “peers”. Under peers public key does the puplic key come from the client configuration of the UDM Pro (Obelix RUTX55)?
Enpoint Host is the dyndns address of the UDM Pro.
I have Allowed IPs 0.0.0.0/0 so that all traffic goes through the VPN first.

is there no one with the same setup and a suitable solution or with an idea?

Thank you SO much @marshray → your explanation was the missing link :slight_smile:
Now, the Tunnel ist established and i try to configure the correct Firewall an Routing tables.

In my case, i want to have a specific device (Magenta TV Stick with Netflix on it) to route all Traffic via the Wireguard VPN to my UDM Pro Home Router, to have an “local LAN” identification (Netflix and other Streaming Services on the Magenta TV Stick requires Internet Access trough the home LAN). I’ll come back, as soon i solved this or with additional questions.

Again, thank you very much for this help so far :slight_smile:

This topic was automatically closed after 15 days. New replies are no longer allowed.