Using Tor in OpenWrt and GLi Routers
Free Tor firmware for all
This Tor firmware is totally free and no warranty. Refer to the forum for help!
To use the Tor firmware:
- Download the correct firmware for your router.
- Flash it to the router, DO NOT reserve settings.
If you brick your router after flashing the wrong firmware or wrong way, please use uboot failsafe to debrick the router.
Versions and supported devices
We have several version of Tor firmware and here is the summary.
We have upgrade Tor firmware for the following models to v2.264 on 2017-11-24.
AR150, AR300M, AR300M Nand, MT300N, MT300A, MT300N-V2
Now Tor firmware is generally by imagebuilder and you will be able to install from standard GLi software repositories using opkg. The source code is on github now.
To modify and compile the Tor firmware by yourself, please refer to the following imagebuilders.
- imagebuilder for AR150, AR300M, MiFi, 6416 based on OpenWrt CC 1505
- imagebuilder for AR300M Nand based on OpenWrt CC 1505
- imagebuilder for MT300N, MT300A based on OpenWrt CC 1505
- imagebuilder for MT300N-V2 based on LEDE 17.01.4
GL-MT300A, which has a
switch button controlling whether you traffice should go through Tor or not.
Most of these instructions are for version 1.4.
GL-AR300. This firmware create two ssid: OpenWrt and Tor. If you conenct to OpenWrt you will have normal Internet. If you connect to Tor, you will be connect to Tor network. This firmware has a built-in UI based on Domino Pi which you can manage two SSIDs.
Version 1.0 with Luci:
GL-MT300N. This is the firmware created for MT300A and MT300N with Luci. This firmware create two ssid: OpenWrt and Tor. If you conenct to OpenWrt you will have normal Internet. If you connect to Tor, you will be connect to Tor network. Connection from LAN port will always have Tor. Luci is installed but there is no Domino Pi UI.
If you have questions about versions, please ask here or in the forum.
Download and Flashing the firmware to the device
All the firmwares is available at https://dl.gl-inet.com/firmware/ Find your device name and then "tor" folder. Download the newest firmware.
You need to refer to Setup for instructions to flash the firmware to the router.
|Model||Tor firmware path||Newest Version||Note|
|AR300M||https://dl.gl-inet.com/firmware/ar300m/nand/tor/||2.264||.rar is for web upgrade .img is for uboot upgrade|
|GL-MiFi||https://dl.gl-inet.com/firmware/ar150/tor/||1.3||MiFi don't have a Tor firmware itself. Use AR150 1.3 instead|
|GL-MT750||Not supported yet|
|AR750||Not supported yet|
Using the firmware UI
After you flash the firmware to your device, when it reboots you need to set up the device at
If you need to connect via WiFi, the default wifi password is
You need to move the hardware switch to the right side if you want to access the UI. Otherwise you are connecting to the Tor network and will not be able to access the UI. This is for security reasons.
First time setup
The first time you acess the setting UI, you will be asked to setup a new password immediatelly. Just choose a password and your TimeZone and submit. The device will
NOT reboot in firmware 1.4.
NOTE: This doesn't change your WiFi password. Change it later.
You will be asked to login using your
NEW password now.
The UI is based on Domino Pi. It is quite simple. In your homepage you will be displayed with:
- Your network status
- Tor status. Please note if your tor reconnects this information may not be accurate.
- Usage of your flash
System and firmware upgrade
You can click the
SYSTEM button from the left sidebar to view the system information, including:
- Your router's name
- Change your password
- Change your timezone
- Check your firmware version and upgrade it, from online or mannually.
If the firmware on our website is newer, you can click
Download and follow the instructions to upgrade the firmware.
NETWORK button on the left sidebar to view and change the network settings, including:
- Internet protocol:
repeater. Tethering only works in Android phones.
- Wireless parameters:
- LAN IP
3G 4G settings
If you connect a 3G or 4G USB modem, you can set the internet to the modem. You need to choose
3G as protocol, choose modem device, usually
evdo, then input your
Repeater settings. It will search for available ssid automatically. You need to choose ssid and type your password.
This firmware don't have repeater manager as our stock firmware. If you move to another location, your wifi maybe not work and you need to re-setup. Refer to the button action section in this page.
LUCI button on the left sidebar you can have the LUCI UI. You can go back to Domino UI by clicking the
Domino Web Panel link on the bottom right corner.
Reset button and hardware switch usage
Reset button and switch is assigned special functions.
- When you press down the reset button, the middle LED will start to flash once per second. Release your finger if the LED just flashed once (1 seconds), the Tor will try to change a new Exit node.
- If you keep the button pressed for 3 seconds, it will flash quicker, twice per second. Now release your finger your network will reset, including disable repeater, set lanip back to 192.168.8.1 and enable dhcp. Use this function if your repeater cannot connect which causes your wifi down
- When you keep holding the reset button for 8 seconds, the middle LED will start to flash even quicker, 4 times per seconds. Release your finger now, your firmware will revert to factory status and reboot.
- Left side: You will be connected to
Tor network. You cannot access the admin UI.
- Rigth side:
Normal Internet. You will be able to access the admin UI.