local network is using wireguard peer dns

local network is using wireguard peer dns

local network is using wireguard peer dns
local network is using wireguard peer dns
2024-11-18 06:28:46 - last edited 2024-11-19 02:04:35
Model: ER605 (TL-R605)  
Hardware Version: V2
Firmware Version: 2.2.6

hello, i have problem with wireguard. we one user who is in different country, and after some time our google searches uses localization of that  user. i  dont  know  if  its wrong peer configuration in wireguard or wrong  created  ACL.

 

Thank You for  your help.

  0      
  0      
#1
Options
1 Accepted Solution
Re:local network is using wireguard peer dns-Solution
2024-11-19 01:04:44 - last edited 2024-11-19 02:04:35

Hi @peter223 

Thanks for posting in our business forum.

Start with the basic guide: How to Configure WireGuard VPN on Omada Controller

It also explains what you have to configure on the peer endpoint WG software.

 

If you need to specify the DNS, add the DNS line to the configuration. For this part, you should refer to the WG official docs as it explain what lines you can use.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
Recommended Solution
  1  
  1  
#5
Options
5 Reply
Re:local network is using wireguard peer dns
2024-11-18 08:55:40 - last edited 2024-11-18 08:57:06

If the 'Allowed IP's at your end of the tunnel, allows all traffice for the user e.g. 0.0.0.0/0, or various settings that achieve the same thing with a higher priority, then you might want to experiment with your Allowed IP's setting.

 

0.0.0.0/0, or similar, essentially allows your router to accept anything that arrives at your router, and one of the behaviors exhibited is exactly what you describe.

 

If this is the case, then try changing the Allowed IP's to be only the User's IP's you want to give access to your end of the tunnel.

  1  
  1  
#2
Options
Re:local network is using wireguard peer dns
2024-11-18 09:32:00

Thank You for reply

If i understood correctly i change AllowedIPs from 0.0.0.0/0 to this user ip, unfortunately after that change user could not reconnect.

Maybe I misunderstood.

test

  0  
  0  
#3
Options
Re:local network is using wireguard peer dns
2024-11-18 12:28:44 - last edited 2024-11-18 17:26:54

  @peter223 

 

In the example above the relevant lines of WireGuard configuration at the 'Data Centre' end of the tunnel (this is you) could read, depending on your use case ....

 

[interface]

Address = 192.168.60.19

 

[Peer]

AllowedIPs = 192.168.60.55 / 32 and 192.168.0.20 / 32

 

In addition, it's not clear why you have a DNS entry in your config; it's probably down to your particlar use case. If the above example (or similar) doesn't work, then try removing the DNS entry.

  1  
  1  
#4
Options
Re:local network is using wireguard peer dns-Solution
2024-11-19 01:04:44 - last edited 2024-11-19 02:04:35

Hi @peter223 

Thanks for posting in our business forum.

Start with the basic guide: How to Configure WireGuard VPN on Omada Controller

It also explains what you have to configure on the peer endpoint WG software.

 

If you need to specify the DNS, add the DNS line to the configuration. For this part, you should refer to the WG official docs as it explain what lines you can use.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
Recommended Solution
  1  
  1  
#5
Options
Re:local network is using wireguard peer dns
2024-11-21 07:03:43

thanks for the reply and advice. I will test the suggested settings as soon as I can.

  1  
  1  
#6
Options

Information

Helpful: 0

Views: 307

Replies: 5

Related Articles