DNS-servers from the with OpenVPN connections

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

DNS-servers from the with OpenVPN connections

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
DNS-servers from the with OpenVPN connections
DNS-servers from the with OpenVPN connections
2022-03-28 19:29:10
Model: ER7206 (TL-ER7206)  
Hardware Version: V1
Firmware Version: 1.2.0 Build 20220316 Rel.54886

Team,

 

When starting a VPN (i.e. OpenVPN), the client receives the IP of the router as DNS-server (together with 8.8.8.8 being the DNS from Google).

This varies if there are multiple vlans involved.

 

Is there a way to use the same DNS-server(s) as configured for the given vlan?

And uf multiple vlans: use the DNS-server of the management vlan?

Both are specificied in the server-OpenVPN-config?

 

 

With kind regards - Will

 

 

*** making it run like clockwork ***
  0      
  0      
#1
Options
2 Reply
Re:DNS-servers from the with OpenVPN connections
2022-03-29 10:55:26

  @ITV 

 

As far as I know, OpenVPN does not support global mode (proxy internet access), meaning that you assigning a DNS may not help.
And even though L2TP can customize the DNS assigned to the client, the router is only a proxy and not a DNS Server.

Just striving to develop myself while helping others.
  0  
  0  
#2
Options
Re:DNS-servers from the with OpenVPN connections
2022-04-18 09:18:07 - last edited 2022-04-18 09:20:01

  @Virgo 

 

Sorry for the dealyed response - was pretty busy the last couple of weeks/days.

 

2 questions:

(1) - If assigning a DNS-server will not work, why assigning the IP address of the gateway? Combined with one of the Google-DNS-servers? What are the ideas behind this - especially the Google-DNS?

(2) - I assigned a DNS-server manualy to the interface on the enduser device attached to the OpenVPN client.

After which everything was working as expected:

- Local DNS-resolving

- Internet access via the local DNS-server (with forwarding to a NextDNS firewall)

So it does help. The question is now:

what does it take to make this a parameter in the Omada-OpenVPN-config (if at all possible)?

 

 

Kind regards - Will

 

 

 

 

 

*** making it run like clockwork ***
  0  
  0  
#3
Options