Skip to content

asluchevskiy/http-to-socks-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http-to-socks-proxy

Implements http proxy server which sends requests through the socks proxy (proxies)

Usage

You can specify proxy or proxyList options. If proxyList is specified, proxy will be selected randomly

var ProxyServer = require('proxy-server');
var options = {
    //proxy: '127.0.0.1:9050',
    proxy: null,
    proxyList: './proxy.list',
    proxyListReloadTimeout: 60 // one minute
};
ProxyServer.createServer(options).listen(8080);

proxy.list must be in the following format:

host:port
host:port:login:password

Known problems

  • does not support Keep Alive for http at all

About

Implements http proxy server which sends requests through the socks proxy (proxies)

Resources

License

Stars

Watchers

Forks

Packages

No packages published