Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(aps): fix small bugs #4362

Merged
merged 3 commits into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion menu/navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@
},
{
"label": "Troubleshooting inaccessibility issues to Mac minis",
"slug": "mac-mini-inacessible"
"slug": "mac-mini-inaccessible"
},
{
"label": "Troubleshooting Mac mini installation issues",
Expand Down
38 changes: 19 additions & 19 deletions pages/apple-silicon/troubleshooting/cant-connect-using-vnc.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -83,29 +83,29 @@ If all else fails, [reinstall macOS](/apple-silicon/how-to/reinstall-mac-mini/)
## Advanced configuration and security

### Enabling and configuring Packet Filter (pf)
To restrict access to screen sharing:
```sh
sudo nano /etc/pf.conf
```
Add:
```sh
block in on en0 proto tcp from any to any port 5900
pass in on en0 proto tcp from <static IP> to any port 5900
```
Apply:
```sh
sudo pfctl -f /etc/pf.conf
```
1. Open the pf configuration file in a text editor to restrict access to screen sharing:
```sh
sudo nano /etc/pf.conf
```
2. Add the following lines to the file and save it:
```sh
block in on en0 proto tcp from any to any port 5900
pass in on en0 proto tcp from <static IP> to any port 5900
```
3. Apply the configuration:
```sh
sudo pfctl -f /etc/pf.conf
```

### Restarting screen sharing via SSH
1. Connect via SSH:
```sh
ssh your_mac_mini_username@<your_mac_mini_ip>
```
```sh
ssh your_mac_mini_username@<your_mac_mini_ip>
```
2. Restart screen sharing:
```sh
sudo killall screensharingd
```
```sh
sudo killall screensharingd
```

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