I am trying to access the debian repository of the 6.x version.
I tried with a wget directly. What interesting is that it is working directly on the machine. But I want to download the artifact from a virtual machine.
So, directly from the host machine it does work:
damien@tools-2:~/vm-setup/vagrant-base-box$ curl ipinfo.io
{
"ip": "51.159.222.46",
"hostname": "2687956d-2b13-465a-8afd-4b6ff2963671.fr-par-2.baremetal.scw.cloud",
"city": "Paris",
"region": "Île-de-France",
"country": "FR",
"loc": "48.8534,2.3488",
"org": "AS12876 SCALEWAY S.A.S.",
"postal": "75000",
"timezone": "Europe/Paris",
"readme": "https://ipinfo.io/missingauth"
damien@tools-2:~/vm-setup/vagrant-base-box$ wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.23.deb
--2025-03-13 09:33:27-- https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.23.deb
Resolving artifacts.elastic.co (artifacts.elastic.co)... 2600:1901:0:1d7::, 34.120.127.130
Connecting to artifacts.elastic.co (artifacts.elastic.co)|2600:1901:0:1d7::|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 149205680 (142M) [binary/octet-stream]
Saving to: ‘elasticsearch-6.8.23.deb’
elasticsearch-6.8.2 100%[===================>] 142.29M 28.8MB/s in 5.6s
2025-03-13 09:33:33 (25.2 MB/s) - ‘elasticsearch-6.8.23.deb’ saved [149205680/149205680]
But for a virtual machine it does not (obviously the ip info is the same):
vagrant@vm:~$ curl ipinfo.io
{
"ip": "51.159.222.46",
"hostname": "2687956d-2b13-465a-8afd-4b6ff2963671.fr-par-2.baremetal.scw.cloud",
"city": "Paris",
"region": "Île-de-France",
"country": "FR",
"loc": "48.8534,2.3488",
"org": "AS12876 SCALEWAY S.A.S.",
"postal": "75000",
"timezone": "Europe/Paris",
"readme": "https://ipinfo.io/missingauth"
vagrant@vm:~$ wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.23.deb
--2025-03-13 09:34:21-- https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.23.deb
Resolving artifacts.elastic.co (artifacts.elastic.co)... 34.120.127.130, 2600:1901:0:1d7::
Connecting to artifacts.elastic.co (artifacts.elastic.co)|34.120.127.130|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2025-03-13 09:34:21 ERROR 403: Forbidden.
One time it even breaks in the middle:
vagrant@vm:~$ wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.23.deb
--2025-03-13 09:33:06-- https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.23.deb
Resolving artifacts.elastic.co (artifacts.elastic.co)... 34.120.127.130, 2600:1901:0:1d7::
Connecting to artifacts.elastic.co (artifacts.elastic.co)|34.120.127.130|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 149205680 (142M) [binary/octet-stream]
Saving to: ‘elasticsearch-6.8.23.deb’
elasticsearch-6.8.2 25%[====> ] 36.00M 78.1MB/s in 0.5s
2025-03-13 09:33:07 (78.1 MB/s) - Read error at byte 37748448/149205680 (The TLS connection was non-properly terminated.). Retrying.
--2025-03-13 09:33:08-- (try: 2) https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.23.deb
Connecting to artifacts.elastic.co (artifacts.elastic.co)|34.120.127.130|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2025-03-13 09:33:08 ERROR 403: Forbidden.
Finally, the virtual machine itself works fine since I can download everything but your artifacts.
I don't know what filter you use but it's not only the source IP.