Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-user:firewall:filtering_traffic_at_ip_addresses_by_dns [2023/08/26 12:55] – plinioseniore | docs:guide-user:firewall:filtering_traffic_at_ip_addresses_by_dns [2024/01/13 12:53] – [Improvements] plinioseniore | ||
|---|---|---|---|
| Line 19: | Line 19: | ||
| ===== [CASE 1] Command-line instructions ===== | ===== [CASE 1] Command-line instructions ===== | ||
| - | Install // | + | Install // |
| <code bash> | <code bash> | ||
| - | opkg update | + | opkg update; cd /tmp/ && opkg download dnsmasq-full; opkg install ipset libnettle8 libnetfilter-conntrack3; |
| - | cd /tmp/ && opkg download dnsmasq-full | + | opkg remove dnsmasq; opkg install dnsmasq-full --cache /tmp/; rm -f / |
| - | opkg remove dnsmasq | + | |
| - | opkg install dnsmasq-full --cache /tmp/ | + | |
| - | rm -f / | + | |
| </ | </ | ||
| Line 137: | Line 134: | ||
| In //CASE 2// the script will periodically query the DNS with all domains included in /// | In //CASE 2// the script will periodically query the DNS with all domains included in /// | ||
| - | ===== Improvements ===== | + | ===== Next Improvements ===== |
| - | Previous version of this wiki page use // | + | The command line instructions are included in /// |
| - | Including the commands | + | The rules will be reapplied at next change |
| - | Using instead /// | + | If in next released will be included a custom file for NFT commands |
| - | ensure consistency across restart of interfaces. | + | |