diff --git a/nextdns/udm-files/on_boot.sh b/nextdns/udm-files/on_boot.sh index acf1ae7..32881f2 100644 --- a/nextdns/udm-files/on_boot.sh +++ b/nextdns/udm-files/on_boot.sh @@ -7,6 +7,8 @@ ln -s /mnt/data/podman/cni/20-dns.conflist /etc/cni/net.d/20-dns.conflist # Assumes your Podman network made in the controller is on VLAN 5 # Adjust the IP to match the address in your cni configuration ip link add br5.mac link br5 type macvlan mode bridge +ip link set br5 promisc on +ip link set br5.mac promisc on ip addr add 10.0.5.2/24 dev br5.mac ip link set br5.mac up ip route add 10.0.5.3/32 dev br5.mac proto static scope link diff --git a/run-pihole/udm-files/on_boot.sh b/run-pihole/udm-files/on_boot.sh index 9797d46..7d9b329 100644 --- a/run-pihole/udm-files/on_boot.sh +++ b/run-pihole/udm-files/on_boot.sh @@ -8,6 +8,8 @@ ln -s /mnt/data/podman/cni/20-dns.conflist /etc/cni/net.d/20-dns.conflist # Assumes your Podman network made in the controller is on VLAN 5 # Adjust the IP to match the address in your cni configuration ip link add br5.mac link br5 type macvlan mode bridge +ip link set br5 promisc on +ip link set br5.mac promisc on ip addr add 10.0.5.2/24 dev br5.mac ip link set br5.mac up ip route add 10.0.5.3/32 dev br5.mac proto static scope link