Documentation/Connecting/Router/After installing·3 / 4
After installing
Who goes through Veli, your country's sites direct, useful commands — and how to take Veli off the router.
Who goes through Veli
In the app this is the “Who goes through Veli” choice on the router's screen; on the router itself, the commands below. Devices are named by their address in your network (for example 192.168.1.20): give them fixed addresses in the router's DHCP settings.
- The whole home — Everything in the local network goes through Veli. This is the default.
- Only these — Only the devices on the list go through Veli; the others get out as before.
- All but these — Everyone goes through Veli except the devices on the list: a smart speaker or a payment terminal, say.
uci set veli.main.devices=onlyuci add_list veli.main.device=192.168.1.20uci commit veli &&
/etc/init.d/veli restartWhile Veli runs, IPv6 in your network is switched off: a device could otherwise get out over IPv6 round Veli.
Your country's sites direct
- The list of networks — The list of your country's addresses is kept on the router and renewed daily with its signature checked. Its addresses go round Veli.
- Switch it off — To send everything through Veli, switch off “Sites of the home country straight out” on the router's screen in the app, or on the Veli page in LuCI.
uci set veli.main.ru_direct=0 &&
uci commit veliUseful commands
veli-node router statusopkg update &&
opkg upgrade veliuci set veli.main.server='Germany 1' &&
uci commit velilogread | grep veliveli-node router forget/etc/init.d/veli stopRemoval
Removing Veli puts the router back as it was: Veli stops, the rules and the DNS setting go, and the link, the subscription and the keys are deleted from the router. In the app it is “…” → “Remove from the router” on the router's screen, and the router's device on your server goes too. The place on a subscription stays taken at the provider until you free it there.
wget -O- https://velivpn.com/routers/install.sh | sh -s -- removeopkg remove 'luci-i18n-veli-*' luci-app-veli veliapk del -r luci-app-veli veli