Hi, i'm having a hard time trying to access my services using tailscale as VPN when i'm not at home. Tailscale is giving me the error "DNS not available" and when i use my domain name to access my services (services.domain.dedyn.io) it return ERR_NAME_NOT_RESOLVED
This is my current situation:
I have adguard selfhosted and i used the following docker compose
services:
adguard:
image: adguard/adguardhome:latest
container_name: adguard
restart: unless-stopped
ports:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp"
volumes:
- ./work:/opt/adguardhome/work
- ./conf:/opt/adguardhome/conf
networks:
- caddy_net
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
cap_add:
- NET_BIND_SERVICE
- DAC_OVERRIDE
mem_limit: 512m
cpus: 1.0
networks:
caddy_net:
name: caddy_net
external: true
Every services is running fine on my machine at 192.168.1.88
and on adguard i have both the dns rewrite *.domain.dedyn.io -> 192.168.1.88 and the filter rules
||sh.dedyn.io^$dnsrewrite=NOERROR;A;192.168.1.88,client=192.168.1.0/24
||sh.dedyn.io^$dnsrewrite=NOERROR;A;100.90.122.98,client=100.64.0.0/10
this is my firewalld configuration (i'm using fedora server)
FedoraServer (default, active)
target: default
ingress-priority: 0
egress-priority: 0
icmp-block-inversion: no
interfaces: eno1
sources:
services: dhcpv6-client
ports:
protocols:
forward: yes
masquerade: yes
forward-ports:
source-ports:
icmp-blocks:
rich rules:
rule family="ipv4" source address="192.168.1.0/24" service name="ssh" accept
rule family="ipv4" source address="100.64.0.0/10" forward-port port="1-65535" protocol="tcp" to-port="1-65535"
rule family="ipv4" source address="192.168.1.0/24" port port="53" protocol="udp" accept
rule family="ipv4" source address="192.168.1.0/24" port port="443" protocol="tcp" accept
rule family="ipv4" source address="192.168.1.0/24" port port="53" protocol="tcp" accept
rule family="ipv4" source address="192.168.1.0/24" port port="80" protocol="tcp" accept
rule family="ipv4" source address="192.168.1.0/24" port port="443" protocol="udp" accept
the dns and caddy are listening on all interfaces
- tcp LISTEN 0 4096 0.0.0.0:80 0.0.0.0:* users:(("docker-proxy",pid=662930,fd=8))
- tcp LISTEN 0 4096 0.0.0.0:53 0.0.0.0:* users:(("docker-proxy",pid=1047528,fd=8))
Now from tailscale
1 - i can ping my android device from tailscale dashboard
2 - i can ping my fedora server from my android device using the tailscale app
I have changed the DNS in split dns on "domain.dedyn.io" and pointed it at the tailscale ip of my fedora server
I would really like some help to know what i'm doing wrong
if you need more information don't hesitate to ask