Resolve WAN as LAN on Turris

From One-Eyed Man Wiki
Jump to navigation Jump to search

Making hairpin/loopback/reflection requests on public URLs is not complicated but the information is well hidden from Turris users. (None of this is accessible from the Luci GUI.)

In /etc/config/resolver, you need this stanza:

config resolver 'kresd'
     option rundir '/tmp/kresd'
     option log_stderr '1'
     option log_stdout '1'
     option keep_cache '1'
     option include_config '/etc/kresd/custom.conf'

Create the /etc/kresd/custom.conf file.

Fill up custom.conf with "hints":

hints[''] = ''

Restart the kresd daemon.


Sort of useful --

Totally useless --

Other confused people --