Skip to content

Installation

Method 1: One-Line Installer

The fastest way to install on a running OpenWrt device:

curl -fsSL https://packages.dial0ut.org/install.sh | sh

The installer detects your package manager (opkg or apk), queries it for your CPU architecture, downloads the matching package from the latest GitHub release, and installs it.

Method 2: Manual Package Install

Find Your Architecture

opkg print-architecture

The highest-priority line (largest number in the third column) is your architecture. For example:

arch all 1
arch noarch 1
arch aarch64_cortex-a53 10

Here the architecture is aarch64_cortex-a53.

apk --print-arch

This prints your architecture directly, e.g. aarch64.

Download and Install

Download the .ipk or .apk for your architecture from GitHub Releases, then install:

# Transfer to router
scp nym-vpn_*.ipk root@192.168.1.1:/tmp/

# Install on router
opkg install /tmp/nym-vpn_*.ipk
# Transfer to router
scp nym-vpn_*.apk root@192.168.1.1:/tmp/

# Install on router
apk add --allow-untrusted /tmp/nym-vpn_*.apk

Post-Install

Verify Installation

# Check daemon is running
/etc/init.d/nym-vpnd status

# Check CLI is available
nym-vpnc status

Access LuCI Interface

Navigate to your router's web interface (typically http://192.168.1.1) and look for NymVPN in the navigation menu.

Set Up Your Account

You need a Nym account credential to connect. See Quick Start for account setup.

Dependencies

The package declares these dependencies (installed automatically):

Package Purpose
libc Standard C library
kmod-tun TUN device kernel module
luci-base LuCI web framework
rpcd RPC daemon for LuCI backend

Uninstall

opkg remove nym-vpn
apk del nym-vpn

Or manually:

/etc/init.d/nym-vpnd stop
/etc/init.d/nym-vpnd disable
rm -f /usr/sbin/nym-vpnd /usr/bin/nym-vpnc
rm -rf /www/luci-static/resources/view/nym-vpn
rm -rf /www/luci-static/resources/nym-vpn
rm -f /usr/libexec/rpcd/nym-vpn
rm -f /etc/init.d/nym-vpnd
rm -f /usr/share/luci/menu.d/luci-app-nym-vpn.json
rm -f /usr/share/rpcd/acl.d/luci-app-nym-vpn.json
/etc/init.d/rpcd restart