Skip to content

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.

Notifications You must be signed in to change notification settings

emonbhuiyan/Redsocks-OpenWRT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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.

Topics

Resources

Stars

Watchers

Forks

Languages