Foldr Zen Zone

Knowledge Base

The Appliance Console – Command List

The following commands are available from the console.

Command Function
dig DNS information & diagnostics
netconfig Presents a simple to use console menu where you can configure the virtual appliance’s network settings.
netstat Displays network connections and statistics
nslookup DNS troubleshooting
passwd To change password for the fadmin account
ping Network connectivity & troubleshooting
traceroute Determines the route taken by packets to reach a destination
tenant-enable Enables multi-tenancy mode
tenant-disable Disables multi-tenancy mode
tenant-add “tenant-name” subdomain Adds a tenant, specify a friendly tenant name first in quotes followed by the required subdomain that will be used
tenant-list Shows all tenants and the status of the encryption keys for each
tenant-sync ip-1 ip-2 -p password Synchronises tenants across multiple appliances.  Optionally specify the fadmin password for all appliances with the -p option.
install-xen-guest-utils Installs the Citrix XenTools guest drivers for improved system performance.  Requires the xs-tools ISO to be mounted in XenCenter.
support-enable Enables fsupport mode.  This can be used a technical support representative to log in for troubleshooting purposes or performing a password reset for the fadmin account.
iptables Modifies the built-in firewall.  All rules should be commented -m comment —comment “foldr-admin” to enable the rules to persist after a system update.
iptables-save Commits all firewall rules so they are permanently saved.
add-interface ethx Creates an additional network interface.  This must be used before you can configure these NICs with the netconfig menu.  The appliance supports a maximum of 4 virtual NICs (eth0 – eth3)
remove-interface ethx Removes additional network interface.
set-routes ethx Set static routes for additional network interfaces
ethtool -P ethx Displays the MAC address for interface ethx in the example.  Useful if you have attached multiple interfaces to the appliance for identification purposes
certificate-reset Resets the SSL certificate installation back to the self-signed (default) certificate
time-sync x.x.x.x (IP-address of NTP server) Forces the appliance system clock to sync with an NTP server.  NTP must be selected within Foldr Settings >> Appliance >> Time Settings for this command to work successfully
ocsp-enable | disable Enables OCSP stapling
flush-cache Flushes cached database entries on the server
set-ciphers modern | legacy Configures the appliance web server SSL configuration.  ‘Modern’ is default and disables TLS 1.0, 1.1 and also disables the 3DES cipher suites
smb-mode legacy|default|modern|edge Configures SMB protocol on the appliance.  The different modes are explained below:

legacy =  sets max client protocol to SMB1
default = sets max client protocol to SMB2
modern = sets min client protocol to SMB2 & max client protocol to SMB3
edge = set max client protocol to SMB3

http-test Performs HTTP(S) connectivity tests using cURL.  Example command to show verbose output:
http-test -v
ldap-test (filter) Performs LDAP(S) tests using ldapsearch.
install-datto-agent Downloads and installs the Datto Linux backup agent
search-reserve-mem x For performance reasons the search index is loaded into RAM. This command sets a limit on the amount of memory that will be used to store the index by reserving the configured amount for other features and functions.
remove-tc-log Removes the transaction co-ordinator log file to aid with database recovery/start
db-bootstrap Marks the local database as ‘safe to bootstrap’ – Useful to recover a cluster that has not shut down gracefully
list-checkouts Lists all checkouts currently made by users, either manually or via an Edit in Office session in the web app
remove-checkouts <days> Removes all checkouts older than the <days> specified
remove-devices <days> Removes all user devices (including browsers) that were last seen older than the number of <days> specified
set-inbox-allow-from ‘<addreses>’ Configures the Foldr server to only receive email from the hosts specified.  For example, for Office 365 EOP/Mail Protect use set-inbox-allow-from ‘’
install-nutanix-guest-tools Installs the Nutanix AHV hypervisor tools
clear-tokens Purges all user authentication tokens and unlinks their cloud accounts. Append -a for all, -g for Google or -m for Microsoft 365
Every journey begins with a single step

Declutter, Focus, Zone In. Repeat.

Begin your File Zen Journey