OPNsense Forum

English Forums => General Discussion => Topic started by: ressurex on November 17, 2018, 05:50:24 pm

Title: Aliases: Host files only possible to save when edited from URL (IPs)
Post by: ressurex on November 17, 2018, 05:50:24 pm
Hi.

im doing a setup of new extra aliases to use for addblocking etc..

they are taken from this list https://github.com/matijazezelj/unbound-adblock
the are all HOSTS lists!

When I try to put every list in a alias respectfully i cant save the lists a hosts.. Opnsense says they arent hosts files.
only workaround is when i choose urls (ips) and save, then edit and choose hosts. and then save.
then it seems the opnsense accepts them as HOSts...

is it a bug ?
Title: Re: Aliases: Host files only possible to save when edited from URL (IPs)
Post by: franco on November 20, 2018, 07:23:26 am
Looks like these files are /etc/hosts format, not one host per line as the alias would expect, e.g.

a.b.c
c.d.e
e.t.c


Cheers,
Franco
Title: Re: Aliases: Host files only possible to save when edited from URL (IPs)
Post by: ressurex on November 23, 2018, 11:07:28 pm
thanks.