Connect to DAppNode's OpenVPN
For connecting to DAppNode 0.2.0 OpenVPN, you will need to have a client that supports the OpenVPN protocol in every device with which you´d like to connect to your DAppNode. Also note that if you are running DAppNode in a physical server with WIFI you can connect to your DAppNode without need of the VPN, just by connecting to the DAppNode WIFI.
Once you have your DAppNode running, you will get an URL in your terminal from where you can download the OVPN config file and open it in your device with your OpenVPN client.
If you have still not installed your OpenVPN client . Just download the credentials file and follow the instructions.
Opening this OVPN file will configure your VPN connection to your DAppNode from your device. The first device VPN connection will have super admin privileges so you can access and manage the DAppNode admin UI; this user cannot be deleted.
Take into account that some VPN clients might send all traffic through the VPN, which is not very ideal if you have many people connected to your DAppNode, or only to send traffic which points to an ETH domain.
DAppNode is not intended to manage all the traffic of the devices connected to it, only the ETH domains access requests.
When you download and install a VPN credentials file, only your ETH traffic will be going out through the VPN, the regular IP traffic will still be done with your regular IP. If you want to route all your Internet traffic through your DAppNode so you are behind your VPN, you should configure it in your VPN client settings by checking the Box "Send all traffic".
These are the recommended Open VPN clients for each OS:
- Mac os: Tunnelblick
- Ios: Open VPN connect
- Windows: Open VPN (community installer)
- Android: Open VPN for Android
- Linux: Already included in recent versions.
Depending on your OS these are the instructions for installing our recommended OpenVPN clients.
Please note that for the ovpn to be correctly downloaded from the link given you will need to have the TCP port 8090 opened and that the default port to connect via OpenVPN is 1194 UDP. UPnP should have opened them for you if your router has UPnp enabled, if not you will have to open them manually
Ubuntu / NetworkManager
OpenVPN comes installed in Ubuntu recent versions, but to be sure, follow these steps. Run the terminal application:
Install OpenVPN and plugin for NetworkManager:
sudo apt-get install network-manager-openvpn-gnome openvpn
Once the installation is complete, restart Network Manager by typing:
sudo service network-manager restart
Go to "Settings -> Network" and click to the "+" button to add a VPN connection:
Select "Import from file..."
Browse the filesystem to select the downloaded file:
Add the profile with the default settings:
Now you can connect selecting the profile from the network tray icon:
The recommended OpenVPN client is Tunnelblick and you can download it here
Once you have followed the steps to install the tunnelblick client in your MAC, download the file from the URL given in the console to download the OVPN file with your credentials.
If you have already downloaded the config file before installing Tunnelblick, you can select the "I have a config file" option and browse to its location. If not, once you have downloaded the OVPN file, just double click on it and Tunnelblick will add the config for you.
Select your preferred option about the users that will have access to the config.
The system will probably ask for your admin password to install the VPN configuration, and it is done!
Just open Tunnelblick in your MAC and click on Connect DAppNode.
Once connected you can already access http://my.admin.dnp.dappnode.eth with your new OpenVPN connection!
The recommended OpenVPN client is OpenVPN Connect and you can download it here
Once you have installed it you can just scan the QR code and hit download:
and click in "Open in OpenVPN"
Tap the add button and name your connection
The phone will ask you permission for OpenVPN to add a configuration profile , please do.
And it is done, you can just connect to your new OpenVPN now
After a few seconds, you will see in the OpenVPN interface that you are connected. You can either connect to your server through the OpenVPN app or directly from the phone´s "VPN" menu in "Settings"
Once connected you can access http://my.admin.dnp.dappnode.eth with your new OpenVPN connection!
Download the OpenVPN profile from the URL or scanned QR code:
Open the downloaded file and import it to the application, then save it with your preferred name:
Select the saved profile to connect to it:
Accept the connection request:
You should see a connection log similar to this:
Once connected, you should be able to browse the DAppNode Admin page:
Download the recommended client for OpenVPN WINDOWS INSTALLER (NSIS) and follow the steps to install it:
Download the file from the provided link by the DAppNode administrator.
Run the OpenVPN GUI program:
Select "Import file..." from the tray bar icon (right click):
Select the downloaded file:
Finally, select "Connect" from the tray bar icon menu:
Connect to DAppNode via the built-in Wifi hotspot
If you have your DAppNode installed in a physical device with Wi-Fi, you can directly connect to your server's Admin UI by connecting your client device to the DAppNode's wifi hotspot.
When you connect your DAppNode server to your router via Ethernet you will see a network called DAppNodeWIFI, just connect to that Wifi using the defaul password "dappnode" and you will have direct access to your DappNode server ADMIN UI while connected to that WIFI.
Please immediately change the name of the WIFI and the password by setting up the new values in the WIFI package under the system tab.
Once you have entered the admin UI you can download your VPN credentials and create new ones under the "devices" tab
Now it is time…