Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Aliases: Host files only possible to save when edited from URL (IPs)
« previous
next »
Print
Pages: [
1
]
Author
Topic: Aliases: Host files only possible to save when edited from URL (IPs) (Read 2588 times)
ressurex
Newbie
Posts: 17
Karma: 2
Aliases: Host files only possible to save when edited from URL (IPs)
«
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 ?
Logged
- Qotom Q350G4 miniPC: i5-4200U,8G Ram, 60G SSD.
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: Aliases: Host files only possible to save when edited from URL (IPs)
«
Reply #1 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
Logged
ressurex
Newbie
Posts: 17
Karma: 2
Re: Aliases: Host files only possible to save when edited from URL (IPs)
«
Reply #2 on:
November 23, 2018, 11:07:28 pm »
thanks.
Logged
- Qotom Q350G4 miniPC: i5-4200U,8G Ram, 60G SSD.
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Aliases: Host files only possible to save when edited from URL (IPs)