Giter Site home page Giter Site logo

caotranquochoai / ipv6-proxy-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from theodikes/ipv6-proxy-server

0.0 0.0 0.0 93 KB

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

License: MIT License

Shell 100.00%

ipv6-proxy-server's Introduction

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. 16, 32, 48, 64, 80, 96 or 112, 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

ipv6-proxy-server's People

Contributors

theodikes avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.