This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| computing:miscadmin [2024/04/21 22:01] – oemb1905 | computing:miscadmin [2025/12/20 21:21] (current) – oemb1905 | ||
|---|---|---|---|
| Line 313: | Line 313: | ||
| Setting ufw to allow connections to only certain subnets. | Setting ufw to allow connections to only certain subnets. | ||
| - | ufw allow from 192.168.1.0/24 to any proto tcp port 8006 | + | ufw allow from 10.16.16.0/24 to any proto tcp port 8006 |
| - | | + | |
| + | ufw allow from 10.16.16.0/ | ||
| + | ufw allow from 10.36.36.0/ | ||
| + | ufw allow from 10.16.16.0/ | ||
| + | ufw allow from 10.36.36.0/ | ||
| + | ufw allow from 10.16.16.0/ | ||
| + | ufw allow from 10.36.36.0/ | ||
| Establish NIC name using mac:ID | Establish NIC name using mac:ID | ||
| nano / | nano / | ||
| SUBSYSTEM==" | SUBSYSTEM==" | ||
| + | | ||
| + | Establish Nemo as default, remove desktop icons, verify nemo default | ||
| + | xdg-mime default nemo.desktop inode/ | ||
| + | gsettings set org.gnome.desktop.background show-desktop-icons false | ||
| + | xdg-mime query default inode/ | ||
| | | ||
| - | --- //[[jonathan@haacksnetworking.org|oemb1905]] | + | Sury php |
| + | |||
| + | sudo apt install -y apt-transport-https lsb-release ca-certificates wget | ||
| + | wget -O / | ||
| + | echo "deb https:// | ||
| + | |||
| + | Static ipv6 in ifupdown | ||
| + | |||
| + | iface enp0s3 inet6 static | ||
| + | address 2001: | ||
| + | netmask 64 | ||
| + | gateway 2001: | ||
| + | autoconf 0 | ||
| + | dns-nameservers 2001: | ||
| + | |||
| + | Assigning an interface a persistent name so that bridging and static ifupdown assignments don't fail on reboot. | ||
| + | |||
| + | sudo nano / | ||
| + | SUBSYSTEM==" | ||
| + | |||
| + | Convert pdf to Word | ||
| + | |||
| + | libreoffice --infilter=" | ||
| + | |||
| + | Instruct a client to ignore the DNS server offers made by the router on Debian. | ||
| + | |||
| + | sudo nano / | ||
| + | |||
| + | In that file, find the section that begins with '' | ||
| + | |||
| + | request subnet-mask, | ||
| + | domain-name, | ||
| + | dhcp6.name-servers, | ||
| + | netbios-name-servers, | ||
| + | rfc3442-classless-static-routes, | ||
| + | |||
| + | After that's removed, find the section that begins with '' | ||
| + | |||
| + | prepend domain-name-servers 192.168.1.20; | ||
| + | prepend domain-name-servers 192.168.1.21; | ||
| + | sudo systemctl restart networking | ||
| + | |||
| + | After you restart networking, run '' | ||
| + | |||
| + | tcpdump -vv -x -X -s 1500 -i eth0 'port 853' | ||
| + | |||
| + | In order to set a policy on Chrome to stop DOT, or DNS over TLS/https, open up ''/ | ||
| + | |||
| + | <code bash> | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | For firefox, create '' | ||
| + | |||
| + | <code bash> | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | Running Debian testing/ | ||
| + | |||
| + | sudo apt-get install linux-headers-$(uname -r) | ||
| + | |||
| + | Alright .... Nemo | ||
| + | |||
| + | xdg-mime default nemo.desktop inode/ | ||
| + | xdg-mime default nemo.desktop x-directory/ | ||
| + | xdg-mime default nemo.desktop x-directory/ | ||
| + | xdg-mime default nemo.desktop application/ | ||
| + | sudo update-alternatives --set xdg-desktop-portal-gtk / | ||
| + | sudo update-alternatives --install / | ||
| + | #gsettings set org.gnome.shell.extensions.desktop-icons file-manager nemo | ||
| + | |||
| + | --- //[[alerts@haacksnetworking.org|oemb1905]] | ||