Skip to main content

Command line and FAQ

Reaching the command line

Use SSH with the root user, or the console of the virtual machine or the hardware. SSH settings are in Infrastructure > System, in the SSH tab. Log in with a key if you disabled password login.

The system is OpenWrt based, so its tools are the ones of that ecosystem.

The configuration

The configuration lives in plain text files under /etc/config, managed with the uci tool.

uci show network # everything about the network
uci show firewall # zones, rules, forwards
uci get system.@system[0].hostname
uci changes # what is pending

The web interface writes to the same files. Changes you make from the command line with uci set must be saved with uci commit <config>, and the affected service must be reloaded.

Everyday commands

GoalCommand
Read the loglogread, and logread -f to follow it
Restart a service/etc/init.d/<service> restart
List servicesls /etc/init.d
Interface addressesip -4 addr, ip -6 addr
Routesip route
Interface statusifstatus wan and ifstatus lan
Firewall rules as loadednft list ruleset
Connection trackingconntrack -L
Test the internetping -c 3 1.1.1.1, then ping -c 3 example.com
Versioncat /etc/os-release
Free disk and memorydf -h, free -m

Where things are

WhatWhere
Configuration/etc/config/
Startup scripts/etc/init.d/
Certificates for the web servermanaged from Infrastructure > Certificates
Traffic classification data/etc/netifyd/
System login memory, read with logread

Frequently asked questions

What is the default address and password? The LAN answers on 192.168.1.1. The user is root and the password is Nexwall,1234. Change it on the first login.

Can I run it on a virtual machine? Yes. Use UEFI firmware, give it at least two network adapters and 4 GB of memory. See Install on a virtual machine or hardware.

Why is my change not active? Most changes are staged. Use Apply changes in the banner. See Using the web interface.

I lost the changes I made before a reboot. Pending changes that were not applied are lost when the unit restarts. Applied changes are kept.

Does it work without a subscription? Yes. The firewall, the VPNs, the intrusion prevention system, the free Threat Shield lists and the base application catalog work without one. A subscription adds the features listed in Licensing and account.

Where is my data sent? Nowhere unless you turn on a feature that needs it. Traffic Analytics sends traffic metadata when you enable it, and a unit connected to a controller sends its logs and metrics to that controller.

How do I move a configuration to another unit? Take a backup and restore it on the new unit. See Backup and recovery.

How do I connect many sites? Use site-to-site tunnels or WireGuard, and manage the units with central management.

How do I get to a state I know? Use the Factory reset tab, and restore a backup afterwards.