# 允許特定 IP 繞過 DNS 轉發 iptables -t nat -A PREROUTING -i eth1 -s 192.168.6.10 -p udp --dport 53 -j ACCEPT # 其他設備的 DNS 流量轉發到指定伺服器 iptables -t nat -A PREROUTING -i eth1 -p udp --dport 53 -j DNAT --to-destination 192.168.88.1