Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo yum -y update && yum -y upgrade
- yum install epel-release
- sudo dnf info snapd
- sudo dnf -y install snapd
- sudo systemctl status snapd.socket
- sudo systemctl enable --now snapd.socket
- sudo ln -s /var/lib/snapd/snap /snap
- sudo snap install adguard-home
- snap services (Lists Adguard as running)
- nslookup google.com 127.0.0.1
- ip addr | grep 3000
- netstat -na | grep 53
- netstat -tulpn
- Firewall Changes
- sudo firewall-cmd --zone=public --add-port=3000/tcp --permanent
- sudo firewall-cmd --zone=public --add-port=53/udp --permanent
- sudo firewall-cmd --zone=public --add-port=80/tcp --permanent
- sudo firewall-cmd --reload
- Change to Static IP
- sudo nmtui - Network Manager tool for CentOS
- nmcli con mod enp0s3 ipv4.addresses "172.16.0.32/23" ipv4.dns 172.16.0.26 ipv4.gateway 172.16.1.254 ipv4.method manual
- sudo nmcli connection down enp0s3 && sudo nmcli connection up enp0s3
- sudo systemctl stop systemd-resolved && sudo systemctl disable systemd-resolved
- *****
- Setup in the web browser now
- -----
- Do some test DNS Lookups from the HOST
- nslookup google.com
- nslookup google.dk
- ______
- Now a Remote Machine
- nslookup www.youtube.com 172.16.0.33
- *******
- Log into AdGuard in th webbrowser and check the query log.
- *******
- So, DNS is now working - A few final changes.
- We need to pdate our block lists
- Filters > Blocklists
- ********
- Snap Management
- sudo snap services
- sudo snap restart adguard-home (This'll restart the service etc)
- *********
- Maintenance and Upgrading
- Run "sudo snap refresh adguard-home" to update.
- Which will update all your snap adguard package and not affect your other snaps.
Add Comment
Please, Sign In to add comment