mirror of
https://github.com/sunknudsen/privacy-guides.git
synced 2025-02-23 17:43:56 +00:00
Improved guides
This commit is contained in:
parent
913adaeabf
commit
32b2f41a5d
@ -217,9 +217,9 @@ veracrypt --text --mount --pim 0 --keyfiles "" --protect-hidden no "\$volume_pat
|
|||||||
mkdir -p "\$mount_point/Versioning"
|
mkdir -p "\$mount_point/Versioning"
|
||||||
|
|
||||||
files=(
|
files=(
|
||||||
"/Users/$(whoami)/.gnupg"
|
"/Users/$USER/.gnupg"
|
||||||
"/Users/$(whoami)/.ssh"
|
"/Users/$USER/.ssh"
|
||||||
"/Users/$(whoami)/Library/Keychains"
|
"/Users/$USER/Library/Keychains"
|
||||||
)
|
)
|
||||||
|
|
||||||
for file in "\${files[@]}"; do
|
for file in "\${files[@]}"; do
|
||||||
|
@ -18,7 +18,7 @@ Listed: true
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
sudo mkdir -p /usr/local/bin
|
sudo mkdir -p /usr/local/bin
|
||||||
sudo chown $(whoami):admin /usr/local/bin
|
sudo chown $USER:admin /usr/local/bin
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 2: download [app-cleaner.sh](app-cleaner.sh) ([PGP signature](./app-cleaner.sh.sig), [PGP public key](https://sunknudsen.com/sunknudsen.asc))
|
### Step 2: download [app-cleaner.sh](app-cleaner.sh) ([PGP signature](./app-cleaner.sh.sig), [PGP public key](https://sunknudsen.com/sunknudsen.asc))
|
||||||
|
@ -30,11 +30,11 @@ Listed: true
|
|||||||
|
|
||||||
Open “System Preferences”, click “Security & Privacy”, then “Firewall” and enable “Turn On Firewall”.
|
Open “System Preferences”, click “Security & Privacy”, then “Firewall” and enable “Turn On Firewall”.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Then, click “Firewall Options…”, disable all options except “Enable stealth mode”.
|
Then, click “Firewall Options…”, disable all options except “Enable stealth mode”.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Step 2: confirm PF is enabled
|
### Step 2: confirm PF is enabled
|
||||||
|
|
||||||
@ -256,7 +256,7 @@ sudo pfctl -F all -f /etc/pf.conf
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
sudo mkdir -p /usr/local/sbin
|
sudo mkdir -p /usr/local/sbin
|
||||||
sudo chown $(whoami):admin /usr/local/sbin
|
sudo chown $USER:admin /usr/local/sbin
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 11: source `/usr/local/sbin` folder
|
### Step 11: source `/usr/local/sbin` folder
|
||||||
|
@ -28,7 +28,7 @@ Listed: true
|
|||||||
|
|
||||||
Open “Settings“, then “Cellular“, then “Cellular Data Network“.
|
Open “Settings“, then “Cellular“, then “Cellular Data Network“.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Step 5 (on Mac): configure “Cellular” settings
|
### Step 5 (on Mac): configure “Cellular” settings
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ Open “Settings“, then “Cellular“, then “Cellular Data Network“.
|
|||||||
|
|
||||||
Open “Settings”, then “Profile Downloaded” and tap “Install”
|
Open “Settings”, then “Profile Downloaded” and tap “Install”
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## macOS guide
|
## macOS guide
|
||||||
|
|
||||||
@ -82,7 +82,7 @@ networksetup -setv6off "Thunderbolt Ethernet"
|
|||||||
|
|
||||||
Open “Settings”, then “General”, then “Profile”, and tap provisioning profile, then “Remove Profile”.
|
Open “Settings”, then “General”, then “Profile”, and tap provisioning profile, then “Remove Profile”.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Step 2 (on Mac): set network interfaces to automatic
|
### Step 2 (on Mac): set network interfaces to automatic
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ Listed: true
|
|||||||
|
|
||||||
## Guide
|
## Guide
|
||||||
|
|
||||||
### Step 1: create SSH key pair
|
### Step 1: create SSH key pair (on Mac)
|
||||||
|
|
||||||
When asked for file in which to save key, enter `vpn-server`.
|
When asked for file in which to save key, enter `vpn-server`.
|
||||||
|
|
||||||
@ -146,9 +146,9 @@ sed -i -E 's/(#)?PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh
|
|||||||
systemctl restart ssh
|
systemctl restart ssh
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 10: update APT index files and upgrade packages
|
### Step 10: update APT index and upgrade packages
|
||||||
|
|
||||||
#### Update apt index files
|
#### Update APT index
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
apt update
|
apt update
|
||||||
|
@ -25,7 +25,7 @@ Listed: true
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
sudo mkdir -p /usr/local/sbin
|
sudo mkdir -p /usr/local/sbin
|
||||||
sudo chown $(whoami):admin /usr/local/sbin
|
sudo chown $USER:admin /usr/local/sbin
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 2: source `/usr/local/sbin` folder
|
### Step 2: source `/usr/local/sbin` folder
|
||||||
|
Loading…
x
Reference in New Issue
Block a user