Community discussions

MikroTik App
 
ahmet82
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 61
Joined: Thu Aug 20, 2020 12:26 am

What is the purpose of client-dns setting in wireguard

Thu May 30, 2024 9:00 pm

Hello,

Can someone please explain what is the purpose of the client-dns setting in wireguard?

Thank you
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 21893
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: What is the purpose of client-dns setting in wireguard

Fri May 31, 2024 3:30 am

Sorry I dont see a client dns setting in my wireguard????

Okay checking the docs, it would appear when using BTH wireguard, its a setting thats there.
Never used it so not sure, how one is supposed to treat that entry.
 
User avatar
nichky
Forum Guru
Forum Guru
Posts: 1389
Joined: Tue Jun 23, 2015 2:35 pm

Re: What is the purpose of client-dns setting in wireguard

Fri May 31, 2024 4:54 am

not only that , all of them in this group i've never used like

client address
client endpoint
client keepalive
client listen port.


not sure if there is any point playing with that
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 4324
Joined: Sun May 01, 2016 7:12 pm
Location: California
Contact:

Re: What is the purpose of client-dns setting in wireguard

Fri May 31, 2024 5:07 am

It just a helper for when RouterOS show the WG config file for peer. It has nothing to with how normally WG works on the Mikrotik. It is just a "UI helper" to create the right WG peer config for the remote peer.

With BTH it's the same, except since app does need a WG config to run, that's how it generated - via RouterOS's WG peer configuration. Now the winbox WG config for a peer shown for additional BTH home users, can actually be used in any WG & all the BTH features still work - in particular the "Client Endpoint" which the BTH DDNS name i.e. snXXXXXXX.vpn.mynetname.net

You'll notice the values you enter into all the "Client Xxxxxx:" in winbox, go in the sample WG config for the peer.
Screenshot 2024-05-30 at 7.05.57 PM.png

But you can ignore them all UNLESS you cut-and-paste the Winbox-generate config to configure WG peers/"clients".. But does put all the needed keys in the right place, beyond just the "Client Xxxx" setting above it. And most WG client accept a config - which may be easier than entering the various keys in some other UI.
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: CGGXANNX and 13 guests