You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Error: Received a non-OK status code" means that your instance is blocked by StackOverflow, to 'fix' this you can route the traffic of the AnonymousOverflow container over a VPN using GlueTun.
I couldn't find any straightforward guide so I wrote this one after a little bit of research, I opted for Cloudflare Warp since it's free and traffic is encrypted with HTTPS anyway. But you can use any of these providers, in that case you can skip to step 7 after adding your AnonymousOverflow ports to GlueTun's docker compose file.
Modify the ports values to those that you use for AnonymousOverflow
Copy the values for VPN_ENDPOINT_PORT, WIREGUARD_PUBLIC_KEY, WIREGUARD_PRIVATE_KEY from the wgcf-profile.conf that we generated using wgcf generate
For VPN_ENDPOINT_IP, you need to ping engage.cloudflareclient.com and use that IP address, for me it was 162.159.192.1
For WIREGUARD_ADDRESSES, you only need to copy paste the IPv4 address (not the IPv6). For me it was 172.16.0.2/32
Now run docker compose up -d to start the GlueTun container and take note of the container name
Now edit the docker compose file of AnonymousOverflow and add the following line at the bottom so that all traffic gets send through the GlueTun container. Modify it with your GlueTun container's name and remove the parentheses
network_mode: container:(name of the GlueTun container)
Remove the ports from AnonymousOverflow docker compose file, since we already added them to GlueTun's. The reason we did this is because Docker doesn't support setting a network_mode and publishing ports at the same time
And then finally run docker compose up -d to start AnonymousOverflow with the new settings
This discussion was converted from issue #86 on March 06, 2024 14:42.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
"Error: Received a non-OK status code" means that your instance is blocked by StackOverflow, to 'fix' this you can route the traffic of the AnonymousOverflow container over a VPN using GlueTun.
I couldn't find any straightforward guide so I wrote this one after a little bit of research, I opted for Cloudflare Warp since it's free and traffic is encrypted with HTTPS anyway. But you can use any of these providers, in that case you can skip to step 7 after adding your AnonymousOverflow ports to GlueTun's docker compose file.
Install wgcf
https://github.com/ViRb3/wgcf/blob/master/README.md (this tool generates a WireGuard config for Cloudflare WARP)
Run
wgcf register
and accept the terms and conditions of CloudflareRun
wgcf generate
to generate a WireGuard config (this will save towgcf-profile.conf
)Now we're gonna install GlueTun, it's a VPN client in the form of a Docker container. We need this to actually use the WireGuard config we generated
First create a folder for GlueTun
mkdir gluetun
Inside of that folder, create a docker compose file using
nano docker-compose.yml
and paste the following:Modify the ports values to those that you use for AnonymousOverflow
Copy the values for
VPN_ENDPOINT_PORT
,WIREGUARD_PUBLIC_KEY
,WIREGUARD_PRIVATE_KEY
from thewgcf-profile.conf
that we generated usingwgcf generate
For
VPN_ENDPOINT_IP
, you need to ping engage.cloudflareclient.com and use that IP address, for me it was 162.159.192.1For
WIREGUARD_ADDRESSES
, you only need to copy paste the IPv4 address (not the IPv6). For me it was 172.16.0.2/32docker compose up -d
to start the GlueTun container and take note of the container nameRemove the ports from AnonymousOverflow docker compose file, since we already added them to GlueTun's. The reason we did this is because Docker doesn't support setting a network_mode and publishing ports at the same time
And then finally run
docker compose up -d
to start AnonymousOverflow with the new settingsSources: qdm12/gluetun#1738, https://xtom.com/blog/how-to-route-your-docker-containers-through-a-vpn-gluetun-guide/#
Edit: I added
restart: 'always'
to the GlueTun docker compose fileBeta Was this translation helpful? Give feedback.
All reactions