Foldr Zen Zone

Knowledge Base

The Appliance Console – Command List

The following commands are available from the server console.  Note that some commands only apply to specific server versions and these are highlighted as appropriate

Command Function
dig DNS information & diagnostics
netconfig  **Foldr Server v4.x – v9.x only** 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  **Foldr Server v4.x – v9.x only** 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 eth **Foldr Server v4.x – v9.x only** 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    **Foldr Server v4.x – v9.x only** Removes additional network interface.
set-routes ethx    **Foldr Server v4.x – v9.x only** Set static routes for additional network interfaces
ethtool -P <adapter-name>
ethtool -P eth0    **Foldr Server v4.x – v9.x only**
ethtool -P ens192    **Foldr Server AlmaLinux v10+ only**
Displays the MAC address for interface eth0 or ens192 in the examples.  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 https://letsencrypt.org
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 ‘.outbound.protection.outlook.com’
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
net-devices    **AlmaLinux v10+ only** Lists network adapter names on the server
net-device -s adapter-name manual “ip-address subnet-mask gateway dns1 dns2”    **Note Fold Server AlmaLinux v10+ only** Configures the specified network adapter’s network configuration.  See here for more information
net-routes -s adapter-name “192.168.0.0/24 10.1.1.2”    **Note Fold Server AlmaLinux v10+ only** Configures a static route for the specific network adapter.  In this example, adapter ens192 to reach network 192.168.0.0 via gateway 10.1.1.2
net-device -s adapter-name dhcp  **Foldr Server AlmaLinux v10+ only** Configures the specified network adapter to use DHCP for its network configuration
check-updates    **Foldr Server AlmaLinux v10+ only** Checks for new server updates using the configured (or default online) repository
install-updates    **Foldr Server AlmaLinux v10+ only** Installs the new server update, the admin must run check-updates before running this command
fadmin-web-access enable|disable    **Foldr Server AlmaLinux v10+ only** Blanket allow or deny for fadmin to access the Foldr web app & Foldr Settings administrative interfaces
fadmin-web-access enable “allow 10.1.1.0/24” “deny 0.0.0.0/0”        **Foldr Server AlmaLinux v10+ only** Example command to permit fadmin to sign into the Foldr web app & Foldr Settings from network 10.1.1.0/24 and deny all other login requests for this account

 

Every journey begins with a single step

Declutter, Focus, Zone In. Repeat.

Begin your File Zen Journey