A TCP based reverse-proxy written with Typescript supporting both HTTP and HTTPS.
The purpos of this project is to map your IPv6 address to an IPv4 based server. It can help you passing Apple Store's IPv6 only network rule.
-
Install node on your VPS.
-
Clone this project
$ git clone https://github.com/jndrm/reverse-proxy.git
- Resolve dependencies
$ npm install
or if you are using yarn
$ yarn
- add your proxy mapping to index.js file
const ReproxyServer = require('reverse-proxy').ReproxyServer
const server = new ReproxyServer()
server.add("your IPv6 address", "your IPv4 address or domain")
// start http
server.startHttp()
// or start https
server.startHttps()
// or start both
server.startAll()