diff --git a/pages/apple-silicon/how-to/remove-public-ip.mdx b/pages/apple-silicon/how-to/remove-public-ip.mdx index a46816c28f..5d364afb1d 100644 --- a/pages/apple-silicon/how-to/remove-public-ip.mdx +++ b/pages/apple-silicon/how-to/remove-public-ip.mdx @@ -64,6 +64,19 @@ On your Mac mini, set up the Private Network/VLAN. You can follow our guide [How ## Disabling DHCP on the public interface and removing the public IP address 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. + +1. Open a terminal on your Mac mini. +2. Run the following command to disable DHCP and remove the public IP address from the Ethernet interface: + ``` + sudo networksetup -setv4off "Ethernet" + ``` + + 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. + + + 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. + + 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. Your Mac mini will still be able to access the internet through the gateway if needed.