When I deploy a connector on Linux I get this error?

bash: line 2: syntax error near unexpected token `<'
bash: line 2: `<html><head>'

This error always comes up when I try to install Twingate on Debian 11 directly. How can I fix this?
When I try to -f force it it gives me this error:

curl: (22) The requested URL returned error: 403 

Can you please provide the output of just curl https://binaries.twingate.com/connector/setup.sh as it looks like something is failing if you’re seeing a 403 or HTML.

There should be no reason it fails on Debian 11.

Is there potentially anything filtering/blocking on the network between this machine and the internet?

<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>403 Forbidden</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Forbidden</h1>
<h2>Your client does not have permission to get URL <code>/connector/setup.sh</code> from this server.</h2>
<h2></h2>
</body></html>

There is nothing between the server and the internet except the firewall stated in my other question.

Can you tell me what you get back for an IP from nslookup binaries.twingate.com

Server:         2a01:4ff:ff00::add:2
Address:        2a01:4ff:ff00::add:2#53

Non-authoritative answer:
Name:   binaries.twingate.com
Address: 34.120.211.59

Where is this VM located geographically? It looks like something is causing our server to refuse the request.

It is a Hetzner VPS located in Falkenstein, Germany. This should work as I have some other servers in Falkenstein and I can install the connector there without any problem. I am currently accessing this server via a connector on another server because this connector refuses to go online (it is always offline), I have removed the connector file but reinstalling a new connector does not work as we can see above.

What’s the outgoing IP of the VM? I would like to see if there’s any indication of why we’re blocking it. Feel free to email me at arthur (at) twingate.com if you do not want to post it publicly.

I wrote you an email.

Exactly same issue with me. Error when trying to curl: 403. Server is hosted on Hetzner Falkenstein, Germany

Is there any solution/updates?

Thank you