For this example my routers WAN is 172.25.25.254 and the local port has 192.168.50.1. The router has DNS cache
I made the following rules on the router as per the guide. But with this enabled DNS will not resolve using 8.8.8.8 on the client.
Code: Select all
add chain=dstnat action=dst-nat to-addresses=192.168.50.1 to-ports=53 protocol=udp dst-port=53
add chain=dstnat action=dst-nat to-addresses=192.168.50.1 to-ports=53 protocol=tcp dst-port=53