View Single Post
Old 05-06-2017, 10:51   #11789
Xfire90
Senior Member
 
L'Avatar di Xfire90
 
Iscritto dal: Jun 2008
Cittā: TN
Messaggi: 550
Quote:
Originariamente inviato da pSycH0bUnnY Guarda i messaggi
Thank you. I realize amod is not WRT, but I noticed most of the commands seem to work.

How would I do this with dnsmasq? And would this be placed in a /etc/amod/conf/wan.user ?

Appreciate any help.

-P
From amod create a default dnsmasq configuration and enable it (amod->services), then run the iptables command and download the hostfile in a specific directory like /etc/amod/conf
In the dnsmasq configuration file include the hostfile fullpath (google is your friend) and restart dnsmasq.
If it works then you can start implementing an automated script.
__________________
i7 4790K 4.8GHz || AsRock z97 Extreme 9 (REBAR ENABLED) || RX 6900XT RED DEVIL || 16GB TridentX 2400 CR1 || 7,5 TB di HD VARI || ArchLinux - Win 10 x64
Xfire90 č offline   Rispondi citando il messaggio o parte di esso