Network Configuration with NMTUI Tool

Dolyetyus

Co Admin
21 Nis 2020
1,204
664
Delft

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

53WDKc.jpg


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

53lFUj.jpg


Now let's update our package list.


Kod:
 sudo apt-get -qq update

53l66A.jpg


After updating our package list, let's install the VPN package to work in NetworkManager.

Kod:
sudo apt-get install network-manager-openvpn-gnome

53trFN.jpg


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.


53FyxH.jpg


We are extracting our downloaded files from the archive.

53FaHb.jpg


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.





53FgQe.jpg


When we enter this section, the following screen will appear:






53MQRP.jpg


Here we click on "Add" and a new screen will appear, here we select "Import saved VPN Configuration" and click "Create".






53ZHSt.jpg


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.





53ZceP.jpg


When we click on the VPN server we want, the features of the VPN will appear. We continue.






53ZApt.jpg


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.






530wRH.jpg


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".






53AmZY.jpg


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.





53dO5M.md.jpg



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.




58oZ6I.jpg


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.




58EuT6.jpg


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.
 

Dolyetyus

Co Admin
21 Nis 2020
1,204
664
Delft

Disabling Connection Control



We can say that it is a network control in the system that shows us the network connection status of our system. Well, if you ask why we will disable connection control, what will it do for us, Ubuntu is not good at connecting to Captive Portals. Although every version tries to improve this situation, it cannot be said that there is a good response. Well, if you ask what does Captive portals have to do with us, my answer will be like that:

When you log in to any URL with the Ubuntu system, the system tries to log in by pinging the URL you are trying to enter. This causes problems such as increased internet ping and slowing internet speed.


If you are connecting to public (Cafe net, airplane net, etc.) WiFi networks, the ping rises because it is open to everyone and everyone is logged into that WiFi network. Also, considering that you are pinging Captive Portals with Ubuntu, a very very troublesome situation arises.


If we disable the connection check in our system, you can avoid these pings to some extent. However, the system will stop giving information about your network status.




You can turn off the connection system in two ways, one via the terminal and one from the settings. Since it is usually turned off in the settings, I will show you how to turn it off in the settings.


First, we enter the Ubuntu application launcher and write "Privacy" in the language you use the system.






5Fop1v.jpg


Alternatively, you can go to the settings and find the privacy section.




5Fo0Ks.jpg


In this section, we enter the connection control feature, named "Connectivity Checking".




5FELL8.jpg


After we choose "Off" option, we disable the connection check.


There are many more features that can be done with NMTUI (NetworkManager), but people who generally use NetworkManager do not have much to do with NetworkManager after making the configurations I have explained today. There are exceptions of course, but I tried to explain only the important functions of NetworkManager without boring you too much.





Translator: @Dolyetyus
Original Article: https://www.turkhackteam.org/konular/nmtui-tool-ile-ag-yapilandirmasi.1945539/
[/CENTER]
 
Üst

Turkhackteam.org internet sitesi 5651 sayılı kanun’un 2. maddesinin 1. fıkrasının m) bendi ile aynı kanunun 5. maddesi kapsamında "Yer Sağlayıcı" konumundadır. İçerikler ön onay olmaksızın tamamen kullanıcılar tarafından oluşturulmaktadır. Turkhackteam.org; Yer sağlayıcı olarak, kullanıcılar tarafından oluşturulan içeriği ya da hukuka aykırı paylaşımı kontrol etmekle ya da araştırmakla yükümlü değildir. Türkhackteam saldırı timleri Türk sitelerine hiçbir zararlı faaliyette bulunmaz. Türkhackteam üyelerinin yaptığı bireysel hack faaliyetlerinden Türkhackteam sorumlu değildir. Sitelerinize Türkhackteam ismi kullanılarak hack faaliyetinde bulunulursa, site-sunucu erişim loglarından bu faaliyeti gerçekleştiren ip adresini tespit edip diğer kanıtlarla birlikte savcılığa suç duyurusunda bulununuz.