Wireguard Server with CentOS7, DNS-resolving problem

Issues related to configuring your network
Post Reply
Azaxs
Posts: 1
Joined: 2022/08/16 05:32:06

Wireguard Server with CentOS7, DNS-resolving problem

Post by Azaxs » 2022/08/16 05:56:01

Hello, i have configured a wireguard server with CentOS7 & it works, but only the connected clients have problems to resolving DNS.
In Debian Linux i easy have installed the "resolveconf" paket & then it works, but in CentOS7 this Paket is not available in my activated repos.

Code: Select all

# wg-quick up wg0                                                                                                                                                                                                                       
[#] ip link add wg0 type wireguard                                                                                                                                                                                                                            
[#] wg setconf wg0 /dev/fd/63                                                                                                                                                                                                                                 
[#] ip -4 address add 10.10.10.1/24 dev wg0                                                                                                                                                                                                                   
[#] ip link set mtu 1420 up dev wg0                                                                                                                                                                                                                           
[#] mount `8.8.8.8 8.8.4.4' /etc/resolv.conf
normally the paket "resolvconf" set's a rule here & then it will work.

Can anyone help me here?
THX

Post Reply