Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check IPs using ip.hetzner.com #877

Merged
merged 1 commit into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions tutorials/install-and-configure-danted-proxy-socks5/01.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,13 +309,13 @@ systemctl status danted
### Step 2.3 - Dante Socks5 Test

```bash
curl -x socks5://<your_ip_server>:<your_danted_port> ifconfig.co
curl -x socks5://<your_ip_server>:<your_danted_port> 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
```

Expand Down Expand Up @@ -353,20 +353,20 @@ passwd holu
Use the following command to test the login with your username and password:

```bash
curl -x socks5://<your_username>:<your_password>@<your_ip_server>:<your_danted_port> ifconfig.co
curl -x socks5://<your_username>:<your_password>@<your_ip_server>:<your_danted_port> https://ip.hetzner.com
```

Example output of the command:

* With Username & Password:
```bash
root@your_host:~# curl -x socks5://holu:[email protected]:1080 ifconfig.co
root@your_host:~# curl -x socks5://holu:[email protected]: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.)

```
Expand Down Expand Up @@ -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:[email protected]:1080 ifconfig.co
root@your_host:~# curl -x socks5://holu:[email protected]: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.
```

Expand Down
4 changes: 2 additions & 2 deletions tutorials/install-lamp-on-ubuntu-debian/01.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions tutorials/install-lamp-on-ubuntu-debian/01.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -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, значит установка была выполнена успешно.
Expand Down
2 changes: 1 addition & 1 deletion tutorials/install-lemp-stack-on-ubuntu-20.04/01.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down