date: 2020-08-26 title: Wireguard and IPV6 > I decided to connect all my services and servers behind my domain controller, > which has a dedicated IPv4 and IPv6 address, and which basically host that > website. This would allow me to remotely manage and enjoy my infrastructure > when I'm away from my homelab. ## IPv6 journey When I first used WireGuard with my new OpenBSD vm on all my devices, i noticed that my some of my requests towards specific services were not working anymore. For instance, I spent some time trying to reach : - gitlab.com - github.com - ungleich.ch In fact, I had hard times accessing these services only when I was connected to my WireGuard server (which has IPv4 and IPv6, with some default wireguard settings I carried with me for six months), and only through my system dns. In fact I figured out that it happened only when I was under an IPv6 capable router. ## Solution Adding IPv6 subnet to server and clients configuration files. ## Next Enable IPv6 routing in the domain controller, for a single-ip usage. ## BSD routing The default routing configuration does not allow my domain controller to reach the **ungleich's infrastructure and services**. ``` echo "\!/sbin/route add -inet 185.203.112/24 185.203.114.1" >> /etc/hostname.vio1 ``` Then I want to be able to access IPv6 only services when I'm using my wireguard server (right now it only allows to force IPv4 to the client).