cf912d0df252f69754729c9805d8fb78118af973
howto/mikrotik.md
... | ... | @@ -141,7 +141,7 @@ Change network and LAN GW to mach your network configuration. |
141 | 141 | |
142 | 142 | ``` |
143 | 143 | /ip firewall layer7-protocol |
144 | -add name=DN42-DNS regexp="^(.*).dn42" |
|
144 | +add name=DN42-DNS regexp="\\x04dn42.\\x01" |
|
145 | 145 | /ip firewall nat |
146 | 146 | add action=src-nat chain=srcnat comment="NAT to DN42 DNS" dst-address=172.23.0.53 dst-port=53 protocol=udp src-address=192.168.0.0/24 to-addresses=192.168.0.1 |
147 | 147 | add action=dst-nat chain=dstnat dst-address-type=local dst-port=53 layer7-protocol=DN42-DNS protocol=udp src-address=192.168.0.0/24 to-addresses=172.23.0.53 to-ports=53 |