Is it possible to TURN OFF private network once enabled on a droplet?

  • Posted February 10, 2014

I created a new droplet and checked the ‘private network’ box, not really knowing what it is for. I don’t need it on my droplet - how can I turn it off?


problem solved, thanks a lot… @asb this would be nice if we have turn off private network button on droplet panel :)

@imammubin I just added a new answer below. Check it out.

same here, also sgp1

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

In order to disable private networking from the command line, you need to edit the file /etc/network/interfaces It will look something like this:

# This file describes the network interfaces available on your
# system and how to activate them. For more information, see
# interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth1 eth0
iface eth0 inet static
iface eth1 inet static

eth0 is the public interface, while eth1 is the private interface. Remove the sections about eth1 (highlighted above), and restart your droplet:

sudo shutdown -r now

I known this is a long procedure, but if you are in a hurry, maybe create a snapshot image of this droplet, delete this droplet, then create a new droplet from the image. This new droplet is by default without private network. This is what I have done.

Any one have a response to this?

Yes, there is no such option to disable private networking through cloud panel once it has been enabled. However, as @ericjswang mentioned, you can create a snapshot and create a new droplet out of that snapshot without enabling private networking during droplet creation. However, you will need to remember while enabling private networking at later stage, that there will be existing interface configuration details of previous droplet from which the snapshot was taken. So you can just update the new private IP if you are enabling private IP in future.

If you are using ubuntu 18.04 or later versions, then the network interface configuration will be present in the “/etc/netplan/50-cloud-init.yaml” and not on “/etc/network/interfaces”.

Once you open the configuration file “/etc/netplan/50-cloud-init.yaml” in the text editor, you will need to comment out the eth1 configuration (In my case it was eth1, but please check the interface which has private ip using ifconfig and comment the interface details out). Once you comment the interface details in the configuration file, save the changes and then reboot the droplet.

Once the reboot is completed and you are able to SSH into the droplet, then run ifconfig command which shouldn’t include details of the private network of the droplet.

  • Droplet in TOR, there is no way to disable private networking in the dashboard.
  • I’ve removed it from the droplet out of the network-scripts
  • I’ve opened a ticket with support and nearly 24 hours no answer/fix
  • This has broken my load-balancer setup

I have the same issue too… There is no button to disable the private networking?? How to change the IP to the private network. I want to “ping” between droplets.

Tengo la misma duda

same here, also ams2

I have the same issue. There is no button to disable the private networking.