diff --git a/tutorials/install-and-configure-danted-proxy-socks5/01.en.md b/tutorials/install-and-configure-danted-proxy-socks5/01.en.md index 68f6a418e..ba6400b0d 100644 --- a/tutorials/install-and-configure-danted-proxy-socks5/01.en.md +++ b/tutorials/install-and-configure-danted-proxy-socks5/01.en.md @@ -309,13 +309,13 @@ systemctl status danted ### Step 2.3 - Dante Socks5 Test ```bash -curl -x socks5://: ifconfig.co +curl -x socks5://: https://ip.hetzner.com ``` Example output of the command: ```bash -root@your_host:~# curl -x socks5://10.0.0.1:1080 ifconfig.co +root@your_host:~# curl -x socks5://10.0.0.1:1080 https://ip.hetzner.com 10.0.0.1 ``` @@ -353,20 +353,20 @@ passwd holu Use the following command to test the login with your username and password: ```bash -curl -x socks5://:@: ifconfig.co +curl -x socks5://:@: https://ip.hetzner.com ``` Example output of the command: * With Username & Password: ```bash -root@your_host:~# curl -x socks5://holu:2M6GTPkKubsrED5F@10.0.0.1:1080 ifconfig.co +root@your_host:~# curl -x socks5://holu:2M6GTPkKubsrED5F@10.0.0.1:1080 https://ip.hetzner.com 10.0.0.1 ``` * Without Username & Password: ```bash -root@your_host:~# curl -x socks5://10.0.0.1:1080 ifconfig.co +root@your_host:~# curl -x socks5://10.0.0.1:1080 https://ip.hetzner.com curl: (7) No authentication method was acceptable. (It is quite likely that the SOCKS5 server wanted a username/password, since none was supplied to the server on this connection.) ``` @@ -419,14 +419,14 @@ Use the following command to test the login to the proxy server with an unregist * If you are using username and password authentication ```bash -root@your_host:~# curl -x socks5://holu:2M6GTPkKubsrED5F@10.0.0.1:1080 ifconfig.co +root@your_host:~# curl -x socks5://holu:2M6GTPkKubsrED5F@10.0.0.1:1080 https://ip.hetzner.com curl: (7) Unable to receive initial SOCKS5 response. ``` * If you are not using username and password authentication ```bash -root@your_host:~# curl -x socks5://10.0.0.1:1080 ifconfig.co +root@your_host:~# curl -x socks5://10.0.0.1:1080 https://ip.hetzner.com curl: (7) Unable to receive initial SOCKS5 response. ``` diff --git a/tutorials/install-lamp-on-ubuntu-debian/01.en.md b/tutorials/install-lamp-on-ubuntu-debian/01.en.md index a224d293a..413619f93 100644 --- a/tutorials/install-lamp-on-ubuntu-debian/01.en.md +++ b/tutorials/install-lamp-on-ubuntu-debian/01.en.md @@ -54,10 +54,10 @@ Install curl by running the following command: sudo apt install curl ``` -After it is installed, we can utilize it to show us our IP address. The service *ipinfo* will be used to do this. +After it is installed, we can utilize it to show us our IP address: ```bash -curl https://ipinfo.io/ip +curl -4 https://ip.hetzner.com ``` Our server's IP address will be shown, which we can use to verify that Apache works by inserting it into our web browser. If the default apache page is shown, the installation was successful. diff --git a/tutorials/install-lamp-on-ubuntu-debian/01.ru.md b/tutorials/install-lamp-on-ubuntu-debian/01.ru.md index 3d95db7ea..e31dca3a9 100644 --- a/tutorials/install-lamp-on-ubuntu-debian/01.ru.md +++ b/tutorials/install-lamp-on-ubuntu-debian/01.ru.md @@ -54,10 +54,10 @@ sudo apt install apache2 sudo apt install curl ``` -После установки curl мы можем использовать ее для выяснения IP адреса. Для этого будет задействован сервис *ipinfo*. +После установки curl мы можем использовать ее для выяснения IP адреса: ```bash -curl https://ipinfo.io/ip +curl -4 https://ip.hetzner.com ``` Будет показан внешний IP адрес сервера, который мы будем использовать для проверки того, что Apache работает, попробовав обратиться по данному IP адресу через веб-браузер. Если открывается страница по-умолчанию от веб-сервера Apache, значит установка была выполнена успешно. diff --git a/tutorials/install-lemp-stack-on-ubuntu-20.04/01.en.md b/tutorials/install-lemp-stack-on-ubuntu-20.04/01.en.md index 66d1167c3..97c3305e2 100644 --- a/tutorials/install-lemp-stack-on-ubuntu-20.04/01.en.md +++ b/tutorials/install-lemp-stack-on-ubuntu-20.04/01.en.md @@ -261,7 +261,7 @@ hostname -I If that doesn't work, try using `cURL` to get get server's public IP Address: ```bash -curl ipv4.icanhazip.com +curl -4 https://ip.hetzner.com ``` You should see this: diff --git a/tutorials/restrict-access-by-ip-or-password-in-nginx/01.en.md b/tutorials/restrict-access-by-ip-or-password-in-nginx/01.en.md index e730390ed..402f12164 100644 --- a/tutorials/restrict-access-by-ip-or-password-in-nginx/01.en.md +++ b/tutorials/restrict-access-by-ip-or-password-in-nginx/01.en.md @@ -151,7 +151,7 @@ Connection: keep-alive You need to know the public IP address of your **local computer** to block it in nginx. You can run this command to determine it: ```bash -curl -4 https://2ip.io +curl -4 https://ip.hetzner.com ``` Your IP address will be outputted to the terminal, for example: `10.0.0.5`.