OpenVPN client dhcp-option dns

Hello,

I configure OpenVPN Tunnel, everything works except for one option I need.

I need to specify DNS over Tunnel for use Cloudflare family DNS (1.1.1.3).

For this, I need to use OpenVpn option :

dhcp-option DNS 1.1.1.3

I try to specify this with

'openvpn-option dhcp-option DNS 1.1.1.3'
in the interface but it doesn’t work

do you have a different solution or syntax?

Best Regards,

set interfaces openvpn vtun1 server name-server 1.1.1.3

?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.