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.
all — the whole home, only — only these, except — all but these
uci set veli.main.devices=only
add a device to the list
uci add_list veli.main.device=192.168.1.20
apply
uci commit veli &&
  /etc/init.d/veli restart

While 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.
switch off; 1 switches it on
uci set veli.main.ru_direct=0 &&
  uci commit veli

Useful commands

what it connects by: your server or the subscription, its servers and its term
veli-node router status
update Veli; on OpenWrt 25.12 apk update && apk upgrade veli. The service restarts by itself
opkg update &&
  opkg upgrade veli
the subscription's server by its name in the list; empty: the first that answers
uci set veli.main.server='Germany 1' &&
  uci commit veli
what the service does: the server, the moves, the clock
logread | grep veli
take the link or the subscription off the router
veli-node router forget
stop: the router goes out as before at once
/etc/init.d/veli stop

Removal

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.

in one command; the repository's address and its key go too
wget -O- https://velivpn.com/routers/install.sh | sh -s -- remove
by hand: OpenWrt 21.02–24.10, ImmortalWrt; a translation of the page goes with it
opkg remove 'luci-i18n-veli-*' luci-app-veli veli
by hand: OpenWrt 25.12
apk del -r luci-app-veli veli