BDIX bypass is becoming increasingly popular in Bangladesh, especially in both rural and urban areas. Socks5 is one of the most widely used proxy protocols here.
Yes! We can configure a Socks5 proxy on an OpenWRT router using Redsocks. I have customized Redsocks as BDIX, specifically for BDIX proxy users. However, there are very few tutorials available on setting up a Socks5 proxy on an OpenWRT router.
This tutorial will guide you through the installation and configuration process, making it easy to set up on your OpenWRT router.
For a step-by-step video guide, watch this tutorial:
Run the following command to install the BDIX proxy extension automatically:
cd /tmp && wget https://github.com/emonbhuiyan/BDIX-OpenWRT/raw/main/install.sh && chmod +x install.sh && clear && sh install.sh && rm install.sh
Just run it and wait for the process to complete. Enjoy!
To update the proxy settings, edit the configuration file:
vi /etc/bdix.conf
After making changes:
- Press
Esc
, then type:wq
to save & exit. - Type
:q!
to exit without saving.
service bdix start
service bdix stop
service bdix restart
service bdix enable
service bdix disable
To update the direct connection list, edit the following file:
vi /etc/init.d/bdix
- You can remove an existing domain line from the list or
- Add a new domain name to allow direct connections.
After updating:
- Press
Esc
, then type:wq
to save & exit. - Type
:q!
to exit without saving.
To remove BDIX from your router, run the following commands:
service bdix stop
service bdix disable
rm /etc/init.d/bdix
rm /etc/bdix.conf
After completing the uninstallation, reboot your router.
I hope this tutorial was helpful. Follow me for more interesting tips and tricks! 🚀