Brume 2 OpenVPN Server Not Pushing DNS Servers

As the subject says, I have a Brume 2 on the latest FW and after setting up OVPN Server following the setup process I discovered that DNS servers are NOT pushed to the clients. In my case I need to make sure the clients are using either the router defined DNS or a DNS that I define. I've stopped and started OVPN server and no change. I see no option in the UI to manage/mandate DNS for clients.
If the option is to manually config the ovpn server config file, would be good to have that confirmed.

I should point out that WG Server is on the other hand working perfectly but that's configed differently of course.

Thanks for short input.

Hi,

  1. Can manual add the following to the client config file:
dhcp-option DNS <dns_server_ip_address>
  1. As well as manual add it in the server config flie:
push "dhcp-option DNS <dns_server_ip_address>"
  1. Add these to the client config if the client is Windows OS, to force Windows to use the OpenVPN client configured DNS:
register-dns
block-outside-dns
1 Like

Thanks for the input, so I have tried to add to the server config file, which looked to be at the following location: /etc/openvpn/ovpn/server.ovpn however it seems to have no effect with a restart of the server, still no dns is pushed. Where is the exact location to modify on the server side? I have also noticed in the config file that client to client is in the config however it is disabled in the UI. Many thanks for feedback on both items

For OpenVPN Server:

>vi /lib/netifd/proto/ovpnserver.sh

For OpenVPN Client:
Clip_2024-08-02_10-52-27

Clip_2024-08-02_10-48-16

It surely does not display in OpenVPN client of the GL GUI, but the DNS works actually.

Thank you @bruce the config on the server side in the /lib/ area sorted it. I don't want to use dhcp options in the client side as it limits my ability to make changes for remote clients.

Thanks, all sorted.