Hi together,
i’m running adguardhome for a long time and i want now activate encryption.
I’m just activated it and added domain name and certificates, the ports i left on the given one’s. When saving there is an error:
Error: control/tls/configure | starting forwarding dns server: could not reconfigure the server: configuring listeners: listening on tls addr 127.0.0.1:853: listen tcp 127.0.0.1:853: bind: address already in use | 500
Checking all ports: there is no port 853 in use, neither tcp nor udp
root@mirror:~# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1779/dropbear
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 5806/uhttpd
tcp 0 0 127.0.0.1:9100 0.0.0.0:* LISTEN 2350/uhttpd
tcp 0 0 0.0.0.0:8443 0.0.0.0:* LISTEN 5806/uhttpd
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 6450/AdGuardHome
tcp 0 0 127.0.0.1:54 0.0.0.0:* LISTEN 5438/dnsmasq
tcp 0 0 192.168.7.135:54 0.0.0.0:* LISTEN 5438/dnsmasq
tcp 0 0 192.168.10.1:54 0.0.0.0:* LISTEN 5438/dnsmasq
tcp 0 0 192.168.1.1:3080 0.0.0.0:* LISTEN 6450/AdGuardHome
tcp 0 0 192.168.1.1:54 0.0.0.0:* LISTEN 5438/dnsmasq
tcp 0 0 192.168.1.1:53 0.0.0.0:* LISTEN 6450/AdGuardHome
tcp 0 0 :::53 :::* LISTEN 6450/AdGuardHome
tcp 0 0 :::22 :::* LISTEN 1779/dropbear
tcp 0 0 :::80 :::* LISTEN 5806/uhttpd
tcp 0 0 fe80::5aef:68ff:fe0f:5750:54 :::* LISTEN 5438/dnsmasq
tcp 0 0 fe80::5aef:68ff:fe0f:5750:54 :::* LISTEN 5438/dnsmasq
tcp 0 0 fe80::5aef:68ff:fe0f:5750:54 :::* LISTEN 5438/dnsmasq
tcp 0 0 fe80::5aef:68ff:fe0f:5750:54 :::* LISTEN 5438/dnsmasq
tcp 0 0 :::8443 :::* LISTEN 5806/uhttpd
tcp 0 0 ::1:54 :::* LISTEN 5438/dnsmasq
tcp 0 0 ::1:53 :::* LISTEN 6450/AdGuardHome
tcp 0 0 fe80::58ef:68ff:fe0f:5750:54 :::* LISTEN 5438/dnsmasq
tcp 0 0 fd5a:22b8:bb40::1:54 :::* LISTEN 5438/dnsmasq
udp 0 0 192.168.1.1:53 0.0.0.0:* 6450/AdGuardHome
udp 0 0 127.0.0.1:53 0.0.0.0:* 6450/AdGuardHome
udp 0 0 192.168.1.1:54 0.0.0.0:* 5438/dnsmasq
udp 0 0 127.0.0.1:54 0.0.0.0:* 5438/dnsmasq
udp 0 0 192.168.7.135:54 0.0.0.0:* 5438/dnsmasq
udp 0 0 192.168.10.1:54 0.0.0.0:* 5438/dnsmasq
udp 0 0 0.0.0.0:67 0.0.0.0:* 5438/dnsmasq
udp 0 0 :::546 :::* 4779/odhcp6c
udp 0 0 :::547 :::* 5470/odhcpd
udp 0 0 :::53 :::* 6450/AdGuardHome
udp 0 0 ::1:53 :::* 6450/AdGuardHome
udp 0 0 fd5a:22b8:bb40::1:54 :::* 5438/dnsmasq
udp 0 0 fe80::5aef:68ff:fe0f:5750:54 :::* 5438/dnsmasq
udp 0 0 ::1:54 :::* 5438/dnsmasq
udp 0 0 fe80::5aef:68ff:fe0f:5750:54 :::* 5438/dnsmasq
udp 0 0 fe80::58ef:68ff:fe0f:5750:54 :::* 5438/dnsmasq
udp 0 0 fe80::5aef:68ff:fe0f:5750:54 :::* 5438/dnsmasq
udp 0 0 fe80::5aef:68ff:fe0f:5750:54 :::* 5438/dnsmasq
root@mirror:~# netstat -ulpn
So, whats wrong here? I couldn’t find any documentation or other information in the net.
Which additional information should i add?
thanks
root@mirror:~# cat /etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd5a:22b8:bb40::/48'
option packet_steering '1'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
config interface 'lan'
option device 'br-lan.1'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config device
option name 'wan'
option macaddr '5a:ef:68:0f:57:50'
config interface 'wan'
option device 'wan'
option proto 'dhcp'
config interface 'wan6'
option device 'wan'
option proto 'dhcpv6'
config bridge-vlan
option device 'br-lan'
option vlan '1'
list ports 'lan1:u*'
list ports 'lan2:u*'
list ports 'lan3:u*'
config bridge-vlan
option device 'br-lan'
option vlan '10'
list ports 'lan1:t'
list ports 'lan2:t'
list ports 'lan3:t'
config interface 'doc'
option proto 'static'
option device 'br-lan.10'
option ipaddr '192.168.10.1'
option netmask '255.255.255.0'
root@mirror:~# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path 'soc/soc:pcie/pci0000:00/0000:00:01.0/0000:01:00.0'
option band '5g'
option channel '36'
option htmode 'VHT80'
option disabled '1'
option country 'US'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'
option macaddr '58:ef:68:0f:57:52'
config wifi-device 'radio1'
option type 'mac80211'
option path 'soc/soc:pcie/pci0000:00/0000:00:02.0/0000:02:00.0'
option band '2g'
option channel '1'
option htmode 'VHT20'
option disabled '1'
option country 'US'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'
option macaddr '58:ef:68:0f:57:51'
root@mirror:~# cat /etc/config/dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option cachesize '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
option nonwildcard '1'
option localservice '1'
option ednspacket_max '1232'
option filter_aaaa '0'
option filter_a '0'
option port '54'
option noresolv '1'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv4 'server'
option dhcpv6 'server'
option ra 'server'
list ra_flags 'managed-config'
list ra_flags 'other-config'
list dhcp_option '3,192.168.1.1'
list dhcp_option '6,192.168.1.1'
list dhcp_option '15,lan'
list dns 'fd5a:22b8:bb40::1'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'
option piofolder '/tmp/odhcpd-piofolder'
config dhcp 'doc'
option interface 'doc'
option start '100'
option limit '150'
option leasetime '12h'
root@mirror:~# cat /etc/config/firewall
config defaults
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option synflood_protect '1'
config zone
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
list network 'lan'
config zone
option name 'wan'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
list network 'wan'
list network 'wan6'
config forwarding
option src 'lan'
option dest 'wan'
config rule
option name 'Allow-DHCP-Renew'
option src 'wan'
option proto 'udp'
option dest_port '68'
option target 'ACCEPT'
option family 'ipv4'
config rule
option name 'Allow-Ping'
option src 'wan'
option proto 'icmp'
option icmp_type 'echo-request'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-IGMP'
option src 'wan'
option proto 'igmp'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-DHCPv6'
option src 'wan'
option proto 'udp'
option dest_port '546'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-MLD'
option src 'wan'
option proto 'icmp'
option src_ip 'fe80::/10'
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Input'
option src 'wan'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
list icmp_type 'router-solicitation'
list icmp_type 'neighbour-solicitation'
list icmp_type 'router-advertisement'
list icmp_type 'neighbour-advertisement'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Forward'
option src 'wan'
option dest '*'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-IPSec-ESP'
option src 'wan'
option dest 'lan'
option proto 'esp'
option target 'ACCEPT'
config rule
option name 'Allow-ISAKMP'
option src 'wan'
option dest 'lan'
option dest_port '500'
option proto 'udp'
option target 'ACCEPT'
config zone
option name 'doc'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
list network 'doc'
config forwarding
option src 'doc'
option dest 'wan'
config rule
option src 'lan'
option dest 'doc'
option name 'sonne2mond'
list dest_ip '192.168.10.200'
option target 'ACCEPT'