Using Tor in OpenWrt and GL.iNet Routers¶
GL-AX1800, GL-B2200, GL-MT1300, GL-E750, GL-AR750S, GL-B1300, GL-S1300, GL-MV1000, GL-MV1000W
This feature is builded in from V3.100.
If you don't want to upgrade, please read below.
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.
Note: 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 here. Select your device model and select the type to
tor. Download the latest firmware.
You need to refer to Setup for instructions to flash the firmware to the router.
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 Wi-Fi, the default Wi-Fi 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 Wi-Fi 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 LAN IP back to 192.168.8.1 and enable DHCP. Use this function if your repeater cannot connect which causes your Wi-Fi 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.