Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-socks5-server

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-socks5-server

Socks5 server implements with nodejs

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17
decreased by-19.05%
Maintainers
1
Weekly downloads
 
Created
Source

node-socks5-server

Provides the socks5 package that implements a SOCKS5 server. SOCKS (Secure Sockets) is used to route traffic between a client and server through an intermediate proxy layer. This can be used to bypass firewalls or NATs.

Features

  • "No Auth" mode
  • User/Password authentication
  • Support for the CONNECT command
  • Support UDP
  • set localAddress interface
  • use specific DNS server

Usage for command

Install global

npm i -g node-socks5-server

Startup

node-socks5

Usage for package

Install in your project

npm i node-socks5-server

Require

Below is a simple example of usage. Go examples folder see more.

const socks5 = require('node-socks5-server');

const server = socks5.createServer();
server.listen(1080);

Test with curl

curl http://www.baidu.com/ --socks5 localhost:1080
curl http://www.baidu.com/ --socks5-hostname localhost:1080
curl http://www.baidu.com/ --socks5 user:password@localhost:1080

TODO

  • bind

Thanks

FAQs

Package last updated on 29 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc