system/device-
Instalar el paquete Pihol
system device-mode update container=yes
/interface veth
add address=172.17.0.2/24 gateway=172.17.0.1 gateway6="" name=veth1
add address=172.17.0.1/24 interface=containers network=172.17.0.0
add bridge=containers interface=veth1
add action=masquerade chain=srcnat src-address=172.17.0.0/24
add key=TZ name=pihole_envs value=Europe/Riga
add key=WEBPASSWORD name=pihole_envs value=mysecurepassword
add key=DNSMASQ_USER name=pihole_envs value=root
/container/mounts/add name=etc_pihole src=/etc dst=/etc/pihole
/container/mounts/add name=dnsmasq_pihole src=/etc-dnsmasq.d dst=/etc/dnsmasq.d
/container/config/set registry-url=https://registry-1.docker.io tmpdir=/pull
/container/add remote-image=pihole/pihole:latest interface=veth1 root-dir=/pihole mounts=dnsmasq_pihole,etc_pihole envlist=pihole_envs
pihole setpassword 'nuevaClave'
Stop Star
add action=dst-nat chain=dstnat dst-address=192.168.2.1 dst-port=80 protocol=tcp to-addresses=172.17.0.2 to-ports=80
add dst=/etc/pihole name=etc_pihole src=/disk1/etc
add dst=/etc/dnsmasq.d name=dnsmasq_pihole src=/disk1/etc-dnsmasq.d
/container/add remote-image=pihole/pihole:latest interface=veth1 root-dir=/pihole mounts=dnsmasq_pihole,etc_pihole envlist=pihole_envs