Temporalitas / ipv6-proxy-server

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

502 Bad Gateway #28

Closed NebiSarigul closed 2 months ago

NebiSarigul commented 3 months ago

I have a "debian 10" vps on OVH. The server ip is hiding like 1.1.1.1

Here is my install command

sudo ./ipv6-proxy-server.sh -s 64 -c 1 -u username -p password -t http -r 0 -d

IPv6 interface is enabled
IPv6 global address is allocated on server successfully
Test ping google.com using IPv6 successfully
IPv6 network sysctl data configured successfully

All required packages installed successfully

Downloading proxy server source...
Proxy server source code downloaded successfully

Start building proxy server execution file from source...
Proxy server builded successfully
Proxy startup script added to cron autorun successfully
Firewall not installed, ports for backconnect proxy opened successfully

IPv6 proxy server started successfully. Backconnect IPv4 is available from 1.1.1.1:30000:username:password to 1.1.1.1:30000:username:password via http protocol
You can copy all proxies (with credentials) in this file: /root/proxyserver/backconnect_proxies.list

Here is info command

sudo ./ipv6-proxy-server.sh --info

User info:
  Proxy count: 1
  Proxy type: http
  Proxy IP: 1.1.1.1
  Proxy ports: between 30000 and 30000
  Auth: user - username, password - password
  Rules: no rules specified, all hosts are allowed
  File with backconnect proxy list: /root/proxyserver/backconnect_proxies.list

Technical info:
  Subnet: /64
  Subnet mask: 
  File with generated IPv6 gateway addresses: /root/proxyserver/ipv6.list
  Rotating: disabled

And then this is my test command 1

curl -U 'username:password' -x '1.1.1.1:30000' 'https://ip6.me'
curl: (56) CONNECT tunnel failed, response 502

test command 2

curl -x http://1.1.1.1:30000 -U username:password http://whatismyv6.com/
<html><head><title>502 Bad Gateway</title></head>
<body><h2>502 Bad Gateway</h2><h3>Host Not Found or connection failed</h3></body></html>

test command 3

curl --proxy http://username:password@1.1.1.1:30000 http://ifconfig.me
<html><head><title>502 Bad Gateway</title></head>
<body><h2>502 Bad Gateway</h2><h3>Host Not Found or connection failed</h3></body></html>

test command 4

curl --proxy http://username:password@1.1.1.1:30000 https://www.google.com
curl: (56) CONNECT tunnel failed, response 502
luanon404 commented 3 months ago

same, did u find solution?

NebiSarigul commented 3 months ago

same, did u find solution?

Yes. Make sure your ipv6 settings are correct. Test like "ping6 google.com" and if still not working change your vps company. Buy another vps from Aeza or Vultr