I have setup a wireguard (WG) vpn server on a raspberry pi that connects to my home internet and I connect to this with my work laptop through a VPN router.
On my work laptop, I get access to several pages through an Azure VPN executed from the laptop - it connects successfully but when I try to access one of the pages, I get 'Name not resolved' errors but I can access the internet fine through the WG vpn.
I'm guessing I have to alter my server or client config to resolve for my Azure vpn's dns - I'm not too savvy with networking, as you can tell!
Any idea if this is possible?
Wireguard Client Config
[Interface]
PrivateKey = MYPRIVATEKEY
Address = 10.6.0.2/24
DNS = 1.1.1.1, 1.0.0.1
[Peer]
PublicKey = MYPUBLICKEY
PresharedKey = MYPRESHAREDKEY
Endpoint = mycloudflaredomain.co.uk:51820
AllowedIPs = 0.0.0.0/0, ::0/0
Wireguard server config
[Interface]
PrivateKey = MYPRIVATEKEY
Address = 10.6.0.1/24
PostUp = iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j AC$
PostDown = iptables -D FORWARD -i wg0 -j ACCEPT; iptables -D FORWARD -o wg0 -j $
MTU = 1420
ListenPort = 51820
### begin usr1 ###
[Peer]
PublicKey = MYPUBLICKEY
PresharedKey = MYPRESHAREDKEY
AllowedIPs = 10.6.0.2/32
### end usr1 ###