Skip to content

Commit f79d4a4

Browse files
committed
docs(aps): add details for removing public ip
1 parent 350fd85 commit f79d4a4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pages/apple-silicon/how-to/remove-public-ip.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,19 @@ On your Mac mini, set up the Private Network/VLAN. You can follow our guide [How
6464
## Disabling DHCP on the public interface and removing the public IP address
6565

6666
Once you have verified that your Mac mini is reachable through the Bastion, you can proceed with disabling DHCP on your Mac's main network interface (`en0`) and removing its public address.
67+
68+
1. Open a terminal on your Mac mini.
69+
2. Run the following command to disable DHCP and remove the public IP address from the Ethernet interface:
70+
```
71+
sudo networksetup -setv4off "Ethernet" <PUBLIC_INTERFACE_IP_ADDRESS>
72+
```
73+
<Message type="tip">
74+
You can also disable the public IP address through the graphical interface when connected via VNC through the SSH bastion. To do this, disable DHCP for the `Ethernet` network adapter.
75+
</Message>
76+
<Message type="important">
77+
Incorrectly configuring the network settings can cause a loss of network connectivity. Before making changes, **back up your data**. If you lose connectivity, you might need to reinstall the system to restore it.
78+
</Message>
79+
6780
Your Mac mini is now fully isolated from the public internet, and any further external access will have to occur from a resource inside the Private Network or through the Bastion.
6881
<Message type="tip">
6982
Your Mac mini will still be able to access the internet through the gateway if needed.

0 commit comments

Comments
 (0)