Giter Site home page Giter Site logo

emonbhuiyan / redsocks-openwrt Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 4.0 37 KB

Redsocks is a proxy tunneling extension. However, I found a very rare tutorial about how to configure Redsocks on an OpenWRT router. With this tutorial, we can use it on our OpenWRT router easily. It will be helpful for BDIX bypass users of Bangladesh who are using the socks5 proxy.

Shell 100.00%
bdix openwrt redsocks bdix-bypass

redsocks-openwrt's Introduction

Server Staus

Redsocks OpenWRT

Redsocks is a proxy tunneling extension. However, I found a very rare tutorial about how to configure Redsocks on an OpenWRT router. With this tutorial, we can use it on our OpenWRT router easily. It will be helpful for BDIX bypass users of Bangladesh who are using the socks5 proxy. To install and configure Redsocks, ensure you have installed OpenWrt on your router. Then run commands as follows:

One command run installation

Run the following command to install Redsocks automatically:

cd /tmp && wget https://github.com/emonbhuiyan/Redsocks-OpenWRT/raw/main/install.sh && chmod +x install.sh && clear && sh install.sh && rm install.sh && cd / && clear

Just run it and wait for completion. And enjoy. Click here to learn step by step manual installation

To update proxy IP, Port, Username & Password

vi /etc/redsocks.conf

After the update press esc key then :wq to save or :q! to discard changes

Update proxy IP, Port, Username & Password

How to start and stop Redsocks:

To start Redsocks proxy bypass

service redsocks start

To stop Redsocks proxy bypass

service redsocks stop

To restart Redsocks proxy bypass

service redsocks restart

To enable Redsocks auto boot-start proxy

service redsocks enable

To disable Redsocks auto boot-start proxy

service redsocks disable

Manual installation step by step:

Step 1: Update your package manager

opkg update

Step 2: Install these 3 packages

opkg install iptables iptables-mod-nat-extra redsocks

Step 3: Then run this line

service redsocks stop && mv /etc/redsocks.conf /etc/redsocks.conf.bkp && cd /etc && wget https://github.com/emonbhuiyan/Redsocks-OpenWRT/raw/main/redsocks.conf && mv /etc/init.d/redsocks /etc/init.d/redsocks.bkp && cd /etc/init.d && wget https://github.com/emonbhuiyan/Redsocks-OpenWRT/raw/main/redsocks && chmod +x /etc/init.d/redsocks

Click here to install with one command run

Thanks for following my tutorial. Follow me to get more interesting tips and tricks.

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.