Skip to content

IPv6 backconnect proxy server /64 and /48 subnet for any debian-based distro

License

Notifications You must be signed in to change notification settings

Princess-Connect/ipv6-proxy-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 

Repository files navigation

IPv6 Proxy Server License: MIT

Create your own IPv6 backconnect proxy server with only one script on any Linux distribution. Any number of random IPs on the subnet, ideal for parsing and traffic arbitrage (Google/Facebook/Youtube/Instagram and many others support IPv6).

Ask questions: @just_temp

Tutorial

Assuming you already have an entire IPv6 subnet (/48 or /64) routed to your server.

Just run:

#sudo su
git clone https://github.com/Theodikes/ipv6-proxy-server.git && cd ipv6-proxy-server
chmod +x ipv6-proxy-server.sh
./ipv6-proxy-server.sh -s 64 -c 100 -u username -p password -t http -r 10

Uncomment first line or run all commands with sudo if you`re not under root.

If script already installed, you can just run one command to reconfigure parameters, for example:

./ipv6-proxy-server.sh -s 64 -c 20 -u username2 -p password2 -t socks5 -r 2

Old instance will be disabled and new starts without reinstallation very quickly.

Command line arguments:

  • -s or --subnet - IPv6 subnet, fully dedicated for your server. 48 or 64, default 64
  • -c or --proxy-count - The total number of proxies you want to have (from 1 to 10000)
  • -t or --proxies-type - Proxies type - http or socks5. Default http, if no value provided
  • -u or --username - All proxies auth login
  • -p or --password - All proxies auth password (if you specify neither username not password, proxy will run without authentification)
  • --random - bool parameter without value, if used, each backconnect proxy will have random username and password, that will be written in backconnect proxies file (-f argument)
  • --start-port - backconnect IPv4 start port. If you create 1500 proxies and start-port is 20000, and server external IPv4 is, e.g,180.113.14.28 you can connect to proxies using 180.113.14.28:20000, 180.113.14.28:20001 and so on until 180.113.14.28:21500
  • -r or --rotating-interval - rotation interval of entire proxy pool in minutes. At the end of each interval, output (external IPv6) addresses of all proxies are changed and proxy server is restarted, which breaks existing connections for a few seconds. From 0 to 59, default value - 0 (rotating disabled)
  • -l or --localhost - bool parameter without value, if used, all backconnect proxy will be available only on localhost (127.0.0.1:30000 instead of 180.113.14.28:30000)
  • -f or --backconnect-proxies-file - path to file, in which backconnect proxies list will be written when proxies start working (default ~/proxyserver/backconnect_proxies.list). You can just copy all proxies from this file and use them in your soft as list of IPv6 proxies.
  • -m or --ipv6-mask - first blocks on server subnet, unchanged part, use ONLY if script cannot parse ipv6 mask automatically. For example, if the external ipv6 address on server is 2a03:6f01:5::1da6 and you want to use entire /64 subnet, script cannot parse ipv6 gateaway because of address zero-field replacement with ::. Real mask for /64 subnet is first four blocks - 2a03:6f01:5:0
  • -i or --interface - ethernet interface name, to which IPv6 subnet is allocated and where all proxies will be raised. Automatically parsed from system info by default, use ONLY if you have non-standard/additional interfaces on your server.
  • -d or --disable-inet6-ifaces-check - disable /etc/network/interfaces configuration check & exit when error. Use only if configuration handled by cloud-init or something like this (for example, on Vultr servers), rarely used parameter, check your VPS documentation

License

MIT

About

IPv6 backconnect proxy server /64 and /48 subnet for any debian-based distro

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%