mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-09 11:41:33 -05:00
Compare commits
No commits in common. "6fa3abe492d57ee6eede52a91523b3c7ee63c379" and "6c1de621c57aa91d1cd8dd825b4a5245d800c960" have entirely different histories.
6fa3abe492
...
6c1de621c5
@ -226,7 +226,7 @@ sudo systemctl restart fwupd
|
|||||||
# UFW Snap is strictly confined, unlike its .deb counterpart
|
# UFW Snap is strictly confined, unlike its .deb counterpart
|
||||||
sudo apt purge -y ufw
|
sudo apt purge -y ufw
|
||||||
sudo snap install ufw
|
sudo snap install ufw
|
||||||
sudo ufw enable -y
|
sudo ufw enable
|
||||||
|
|
||||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/NetworkManager/conf.d/00-macrandomize.conf | sudo tee /etc/NetworkManager/conf.d/00-macrandomize.conf
|
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/NetworkManager/conf.d/00-macrandomize.conf | sudo tee /etc/NetworkManager/conf.d/00-macrandomize.conf
|
||||||
sudo chmod 644 /etc/NetworkManager/conf.d/00-macrandomize.conf
|
sudo chmod 644 /etc/NetworkManager/conf.d/00-macrandomize.conf
|
||||||
|
@ -134,11 +134,7 @@ fi
|
|||||||
|
|
||||||
# Setup unbound
|
# Setup unbound
|
||||||
|
|
||||||
sudo apt install -y unbound unbound-anchor
|
sudo apt install -y unbound
|
||||||
sudo mkdir -p /usr/share/dns
|
|
||||||
sudo chmod 755 /usr/share/dns
|
|
||||||
sudo unbound-anchor
|
|
||||||
sudo chmod 644 /usr/share/dns/root.key
|
|
||||||
|
|
||||||
echo 'server:
|
echo 'server:
|
||||||
trust-anchor-signaling: yes
|
trust-anchor-signaling: yes
|
||||||
@ -175,8 +171,6 @@ forward-zone:
|
|||||||
|
|
||||||
sudo chmod 644 /etc/unbound/unbound.conf.d/custom.conf
|
sudo chmod 644 /etc/unbound/unbound.conf.d/custom.conf
|
||||||
|
|
||||||
sudo sed -i 's#/var/lib/unbound#/usr/share/dns#g' /etc/unbound/unbound.conf.d/root-auto-trust-anchor-file.conf
|
|
||||||
|
|
||||||
mkdir -p /etc/systemd/system/unbound.service.d
|
mkdir -p /etc/systemd/system/unbound.service.d
|
||||||
echo $'[Service]
|
echo $'[Service]
|
||||||
CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_SYS_RESOURCE CAP_NET_RAW
|
CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_SYS_RESOURCE CAP_NET_RAW
|
||||||
@ -220,7 +214,7 @@ sudo systemctl disable systemd-resolved
|
|||||||
# UFW Snap is strictly confined, unlike its .deb counterpart
|
# UFW Snap is strictly confined, unlike its .deb counterpart
|
||||||
sudo apt purge -y ufw
|
sudo apt purge -y ufw
|
||||||
sudo snap install ufw
|
sudo snap install ufw
|
||||||
sudo ufw enable -y
|
sudo ufw enable
|
||||||
sudo ufw allow SSH
|
sudo ufw allow SSH
|
||||||
|
|
||||||
sudo reboot
|
sudo reboot
|
||||||
|
Loading…
Reference in New Issue
Block a user