mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-22 17:41:32 -05:00
Add NTS
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
0afcb1a4c7
commit
3d39e5594f
@ -30,6 +30,10 @@ curl https://raw.githubusercontent.com/Kicksecure/security-misc/master/etc/modpr
|
|||||||
curl https://raw.githubusercontent.com/Kicksecure/security-misc/master/etc/sysctl.d/30_security-misc.conf -o /etc/sysctl.d/30_security-misc.conf
|
curl https://raw.githubusercontent.com/Kicksecure/security-misc/master/etc/sysctl.d/30_security-misc.conf -o /etc/sysctl.d/30_security-misc.conf
|
||||||
curl https://raw.githubusercontent.com/Kicksecure/security-misc/master/etc/sysctl.d/30_silent-kernel-printk.conf -o /etc/sysctl.d/30_silent-kernel-printk.conf
|
curl https://raw.githubusercontent.com/Kicksecure/security-misc/master/etc/sysctl.d/30_silent-kernel-printk.conf -o /etc/sysctl.d/30_silent-kernel-printk.conf
|
||||||
|
|
||||||
|
#Setup NTS
|
||||||
|
rm -rf /etc/chrony/chrony.conf
|
||||||
|
curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/chrony.conf -o /etc/chrony/chrony.conf
|
||||||
|
|
||||||
#Setup Firewalld
|
#Setup Firewalld
|
||||||
sudo firewall-cmd --permanent --remove-port=1025-65535/udp
|
sudo firewall-cmd --permanent --remove-port=1025-65535/udp
|
||||||
sudo firewall-cmd --permanent --remove-port=1025-65535/tcp
|
sudo firewall-cmd --permanent --remove-port=1025-65535/tcp
|
||||||
@ -156,5 +160,3 @@ EOF
|
|||||||
|
|
||||||
sudo systemctl restart NetworkManager
|
sudo systemctl restart NetworkManager
|
||||||
sudo hostnamectl hostname "localhost"
|
sudo hostnamectl hostname "localhost"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user