Skip to content

Commit 301d4ae

Browse files
authored
fix(aps): fix small bugs (#4362)
* fix(aps): fix small bugs * fix(aps): fix formatting * fix(aps): fix formatting
1 parent 2350124 commit 301d4ae

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

menu/navigation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@
946946
},
947947
{
948948
"label": "Troubleshooting inaccessibility issues to Mac minis",
949-
"slug": "mac-mini-inacessible"
949+
"slug": "mac-mini-inaccessible"
950950
},
951951
{
952952
"label": "Troubleshooting Mac mini installation issues",

pages/apple-silicon/troubleshooting/cant-connect-using-vnc.mdx

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -83,29 +83,29 @@ If all else fails, [reinstall macOS](/apple-silicon/how-to/reinstall-mac-mini/)
8383
## Advanced configuration and security
8484

8585
### Enabling and configuring Packet Filter (pf)
86-
To restrict access to screen sharing:
87-
```sh
88-
sudo nano /etc/pf.conf
89-
```
90-
Add:
91-
```sh
92-
block in on en0 proto tcp from any to any port 5900
93-
pass in on en0 proto tcp from <static IP> to any port 5900
94-
```
95-
Apply:
96-
```sh
97-
sudo pfctl -f /etc/pf.conf
98-
```
86+
1. Open the pf configuration file in a text editor to restrict access to screen sharing:
87+
```sh
88+
sudo nano /etc/pf.conf
89+
```
90+
2. Add the following lines to the file and save it:
91+
```sh
92+
block in on en0 proto tcp from any to any port 5900
93+
pass in on en0 proto tcp from <static IP> to any port 5900
94+
```
95+
3. Apply the configuration:
96+
```sh
97+
sudo pfctl -f /etc/pf.conf
98+
```
9999

100100
### Restarting screen sharing via SSH
101101
1. Connect via SSH:
102-
```sh
103-
ssh your_mac_mini_username@<your_mac_mini_ip>
104-
```
102+
```sh
103+
ssh your_mac_mini_username@<your_mac_mini_ip>
104+
```
105105
2. Restart screen sharing:
106-
```sh
107-
sudo killall screensharingd
108-
```
106+
```sh
107+
sudo killall screensharingd
108+
```
109109

110110
## Further troubleshooting
111111
If the issue persists, contact [Scaleway's support](https://console.scaleway.com/support) for assistance.

0 commit comments

Comments
 (0)