Giter Site home page Giter Site logo

sockd_stack's Introduction

A reverse proxy stack based on sockd

What is this?

A socks proxy is a type of network proxy that creates a secure connection between the client and the server, routing network traffic through the proxy. This allows the client to access resources on the server as if they were directly connected, while hiding the client's IP address and providing an additional layer of security.

What problem does a socks proxy solve?

The problem that a socks proxy solves is one of security and access. By routing network traffic through a secure proxy, a socks proxy can protect the client's IP address and provide an additional layer of security. This is especially useful for accessing resources on a server that is behind a firewall or in a different network. Additionally, a socks proxy can be used to bypass network restrictions and access resources that would otherwise be blocked.

What is sockd

sockd is a SOCKS server that allows you to tunnel TCP connections through an SSH server. It is designed to be a lightweight alternative to other SOCKS servers, such as sshuttle, which require a full SSH client to be installed on the client machine.

Illustration

How to start with this stack ?

Build the stack

docker-compose build

or

build.sh

Start the stack

docker-compose up -d

or

up.sh

How to configure your mac to use the proxy ?

You can use the script configure_socks_proxy.sh to configure your mac to use the proxy.

Usage

To use the script, open a terminal and run the following command:

./configure_socks_proxy.sh [options]
Options

The following options are available:

  • -i or --interface: This option specifies the network interface to use the socks proxy for. For example: ./configure_socks_proxy.sh -i WI-FI.
  • -proxy: This option specifies the socks proxy address and port such as 127.0.0.0:8080. For example: ./configure_socks_proxy.sh -proxy 127.0.0.0:8080.
  • -h or --help: This option prints the help message.
  • --remove: This option removes the configuration for the specified domain name.
Examples

Here are a few examples that show how to use the script:

  • To set the proxy configuration for the WI-FI network interface:
./configure_socks_proxy.sh -proxy 127.0.0.0:8080

To remove the proxy configuration for the WI-FI network interface:

./configure_socks_proxy.sh --remove

How to stop the stack ?

docker-compose down

or

down.sh

Mention

Created with ❤️ by Raphaël MANSUY

sockd_stack's People

Contributors

raphaelmansuy avatar

Watchers

 avatar  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.