Today, our internet connection is very important. Each network has an IP address. This is a network address made up of various numbers assigned to your address network. A new IP address can be obtained by resetting this network address to the modem, or various applications. Vpns are used to change the IP address.
Another method for those who want to change their IP address is proxies. Proxies connect from their own server when connecting to another website. In other words, it can also function as a VPN.
By using these methods, we can hide our IP address, although not completely. But, in some operating systems, the situation may be different, it can be done with various programs.
Now we need not only privacy, but also configure our network ourselves. These can have many causes. (network speed, network quality, etc.) Today I'll show a tool that helps us configure our network.
What is NMTUI?
NMTUI (NetworkManager Text User Interface) is a network management program prepared for configuring the systems in the device to the networks and automatically connecting the device system and detecting the network. The vast majority of people who use NetworkManager use it with the Ubuntu system.
NetworkManager can be used for both wired and wireless networks and one can configure networks. The most important feature in wired networks is that it helps the system to connect to the networks that are defined as priority and connect to the secure network by making security checks while connecting to this network.
With NetworkManager working in wireless networks compared to wired networks, you can see more of its functions and features. It can also work with certain modem connections and certain VPNs. If you use a modem or Vpn which does not support NetworkManager, the program will not work properly. Therefore, it is useful to use a Vpn and modem connection it supports.
Downloading NetworkManager and First Configurations
As I explained at the beginning of our topic, the majority of people using NetworkManager use it with the Ubuntu system. We will also use it classically on Ubuntu.
Downloading NetworkManager
First, we log into our Ubuntu terminal. We don't need a bunch of commands to download NetworkManager. A single command is valid for our download.
Kod:
sudo apt-get install network-manager
Now the NetworkManager program has been downloaded to our system.
Connecting to NordVpn Server Using NetworkManager
By means of NetworkManager, we can place an IP address that we get from Vpn instead of our own IP address instead of your real IP address in our terminal and system.
If you remember, we said at the beginning of this article that NetworkManager does not support all VPNs, but it supports certain VPNs. One of these supported Vpn types is NordVpn. Now let's take NordVpn support to NetworkManager.
First, we log into our Ubuntu terminal and activate the universe repository.
Kod:
sudo add-apt-repository universe
Now let's update our package list.
Kod:
sudo apt-get -qq update
After updating our package list, let's install the VPN package to work in NetworkManager.
Kod:
sudo apt-get install network-manager-openvpn-gnome
After typing our command it says it needs to download something 2.3 kb in size. So we type "Y".
Now, after logging into our NordVpn account from our browser, we can download NordVpn to different operating systems such as android, Linux, Mac OS. We choose the Linux option from here and download the files to the ~/NordVPN directory.
We are extracting our downloaded files from the archive.
We click on the network (WiFi) sign in the upper left of the Ubuntu main screen and it will bring us a small list. From this list, we enter the "Edit Connections" section at the bottom.
When we enter this section, the following screen will appear:
Here we click on "Add" and a new screen will appear, here we select "Import saved VPN Configuration" and click "Create".
The NordVpn packages that we downloaded to us will appear. These packages have the .ovpn extension. When we look at the packages here, we understand that there is a Vpn server. Which server you want to connect to (Germany, America, France, etc.) we choose that server.
When we click on the VPN server we want, the features of the VPN will appear. We continue.
We then ask for our NordVpn account information, that is, we write the username, password and log in to the "CA certificate" section at the bottom. After logging in, the following screen appears.
File extensions are .crt. Here we find the server you have chosen and click that file and click "Open".
It gets us back to the public Vpn section, this time we log into the "Advanced" setting.
In this menu, we enter the "TLS Authentication" section from the top sections and tick the box next to "Use additional TLS authentication". The "key file" part is the name of the server we want to enter, the only difference is that its extension will be .key. The "Key Direction" part will also be 1. After making the necessary settings, we exit by saying "Ok".
We enter the network (WiFi) sign on the upper right side of the Ubuntu main menu and click on the "Vpn Connections" section and see that the VPN server we want is there. When you click on that Vpn server, it will automatically connect to Vpn from the moment you open the system.
Network Configuration with NetworkManager
Proxy Configuration
NetworkManager does not automatically make the proxy settings, it will work after you configure these settings, but if you are using GNOME or KDE, you have the chance to use the Proxy settings with proxydriver by using the NetworkManager information. If you are not using GNOME or KDE, you have to configure these settings yourself.
There are two methods, one is via terminal and the other is through settings. We will do the simplest and most useful one, namely through the settings.
First, we come to the Ubuntu's settings and enter the "Network" section.
A screen like this will wait for us, here there is a settings sign next to the part that says "Network Proxy", we click on that sign and make the following settings.
First, we select the "Manual" option in the setting section. You write the IP address of your own host in the first two boxes, make sure that they match each other on both sides. After filling the boxes, you can exit the Proxy setting section, the system will automatically save the settings.