Omni Turris

From Klaus' wiki
Revision as of 07:02, 11 July 2017 by Klaus (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Omni Turris is a firewall appliance running OpenWRT software.

I've bought one and it serves as my private firewall.

There are a few quirks with the software, which I'll keep track of on this page.

It is my intention to have the firewall to be the pivot for my local networks.

Local DNS resolution

One thing that annoyed me with the Omni Turris firewall was that it could not resolve local IP addresses.

Over at the Turris forum I found this:

In the fil /etc/init.d/kresd
Add those two lines:
1) in section init_header, after line echo " 'policy'" >> $CONFIGFILE
echo " , 'hints'" >> $CONFIGFILE
2) in section load_uci_config_common, after line set_param_func "cache.clear" ""
set_param_func "hints.config" "'/tmp/hosts/dhcp'"

restart the KNOT service:
/etc/init.d/kresd restart
If you edit /etc/config/dhcp and add anything you want, it will be resolved as well.

The /tmp/host/dhcp is generated on restart of the resolver and now it is used at input for local resolving of hosts.