Temporalitas / ipv6-proxy-server

IPv6 backconnect proxy server /64 and /48 subnet for any debian-based distro
MIT License
92 stars 54 forks source link

502 Bad Gateway Error #2

Closed fatihkabakk closed 1 year ago

fatihkabakk commented 1 year ago

I have a vultr server. I always get 502 Bad Gateway error. I tried connection in python. sudo ufw allow 30000 is done.

run command: ./ipv6-proxy-server.sh -s 64 -c 100 -u username -p password -t http -d

output: IPv6 proxy server started successfully. Backconnect IPv4 is available from \<ip>:30000:username:password to \<ip>:30099:username:password via http protocol

import requests

proxies = {'http': 'http://username:password@<ip>:30000', 'https': 'http://username:password@<ip>:30000'}

print(requests.get('http://ip-api.com/json/', proxies=proxies).content)

output:

<html>
   <head>
      <title>502 Bad Gateway</title>
   </head>
   <body>
      <h2>502 Bad Gateway</h2>
      <h3>Host Not Found or connection failed</h3>
   </body>
</html>
Temporalitas commented 1 year ago

http://ip-api.com/json don't work with IPv6. curl not working

Try, for example, ipv6.ip.sb or whatismyv6.com