Skip to content

Commit 733a3a0

Browse files
committed
docs(aps): add details for removing public ip
1 parent dd5ae74 commit 733a3a0

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
@@ -68,6 +68,19 @@ On your Mac mini, set up the Private Network/VLAN. You can follow our guide [How
6868
## Disabling DHCP on the public interface and removing the public IP address
6969

7070
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.
71+
72+
1. Open a terminal on your Mac mini.
73+
2. Run the following command to disable DHCP and remove the public IP address from the Ethernet interface:
74+
```
75+
sudo networksetup -setv4off "Ethernet" <PUBLIC_INTERFACE_IP_ADDRESS>
76+
```
77+
<Message type="tip">
78+
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.
79+
</Message>
80+
<Message type="important">
81+
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.
82+
</Message>
83+
7184
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.
7285
<Message type="tip">
7386
Your Mac mini will still be able to access the internet through the gateway if needed.

0 commit comments

Comments
 (0)