Posts by pain

    Hello,

    I was playing around with LE 12.2/13.0 on my rpi5 (latest nightlies to make sure)

    Configuring WireGuard I discovered the following issues:

    1. Routing breaks:
      Connecting the VPN removes the default route and disconnecting doesn’t restore it.
      The VPN endpoint route is left behind. My initial guess is that the wrong route is removed.
    2. DNS-leak
      While VPN is connected, assuming at least 1 nameserver is present in /etc/resolv.conf from eth/wlan/cell.
      The original nameserver remains the first nameserver, ahead of WireGuard’s DNS.
      DNS queries bypass WireGuard's DNS and go to original nameserver causing DNS-leak.
    3. ConnMan does not come with split-dns (like dnsmasq or systemd-resolved)
      eg to provide a way to direct local-domain lookups to the local DNS
      server while sending other lookups to WireGuard’s DNS.

      This leaves a choice between DNS queries bypassing the VPN (dnsleak)
      or losing local name resolution.


    That's it I guess for my first post :/


    PS:

    Code
    The ConnMan main.conf man page documents it under [General] → ResolvConf=string. 
    It explicitly says: “If you do not want to update resolv.conf, you can set /dev/null.”