---
title: 'other:binarylocations'
url: 'https://docs.danami.com/juggernaut/command-line-interface/other/other-binarylocations'
markdown: 'https://docs.danami.com/juggernaut/command-line-interface/other/other-binarylocations.md'
date: '2026-09-24'
description: 'Configure OS specific binary locations. juggernaut --task=other:binarylocations Option Value Default Description --IPTABLES <string> /sbin/iptables The location for the binary iptables. --IPTABLES_SAVE <string> /sbin/iptables-save The location for the binary iptables_save. --IPTABL…'
taxonomy:
  category:
    - docs
  tag:
    - csf
---

[](#)  [ Basics ](https://docs.danami.com/juggernaut/)     [ Command Line Interface ](https://docs.danami.com/juggernaut/command-line-interface)      Other       other:binarylocations    

# other:binarylocations

Configure OS specific binary locations.

```
juggernaut --task=other:binarylocations
```

| Option | Value | Default | Description |
|---|---|---|---|
| `--IPTABLES` | <string> | /sbin/iptables | The location for the binary iptables. |
| `--IPTABLES_SAVE` | <string> | /sbin/iptables-save | The location for the binary iptables\_save. |
| `--IPTABLES_RESTORE` | <string> | /sbin/iptables-restore | The location for the binary iptables\_restore. |
| `--IP6TABLES` | <string> | /sbin/ip6tables | The location for the binary ip6tables. |
| `--IP6TABLES_SAVE` | <string> | /sbin/ip6tables-save | The location for the binary ip6tables\_save. |
| `--IP6TABLES_RESTORE` | <string> | /sbin/ip6tables-restore | The location for the binary ip6tables\_restore. |
| `--MODPROBE` | <string> | /sbin/modprobe | The location for the binary modprobe. |
| `--IFCONFIG` | <string> | /sbin/ifconfig | The location for the binary ifconfig. |
| `--SENDMAIL` | <string> | /usr/sbin/sendmail | The location for the binary sendmail. |
| `--PS` | <string> | /bin/ps | The location for the binary ps. |
| `--VMSTAT` | <string> | /usr/bin/vmstat | The location for the binary vmstat. |
| `--LS` | <string> | /bin/ls | The location for the binary ls. |
| `--MD5SUM` | <string> | /usr/bin/md5sum | The location for the binary md5sum. |
| `--TAR` | <string> | /bin/tar | The location for the binary tar. |
| `--CHATTR` | <string> | /usr/bin/chattr | The location for the binary chattr. |
| `--UNZIP` | <string> | /usr/bin/unzip | The location for the binary unzip. |
| `--GUNZIP` | <string> | /bin/gunzip | The location for the binary gunzip. |
| `--DD` | <string> | /bin/dd | The location for the binary dd. |
| `--TAIL` | <string> | /usr/bin/tail | The location for the binary tail. |
| `--GREP` | <string> | /bin/grep | The location for the binary grep. |
| `--ZGREP` | <string> | /usr/bin/zgrep |  |
| `--IPSET` | <string> | /usr/sbin/ipset | The location for the binary ipset. |
| `--SYSTEMCTL` | <string> | /usr/bin/systemctl | The location for the binary systemctl. |
| `--HOST` | <string> | /usr/bin/host | The location for the binary host. |
| `--IP` | <string> | /usr/sbin/ip |  |
| `--CURL` | <string> | /usr/bin/curl | The location for the binary curl. |
| `--WGET` | <string> | /usr/bin/wget | The location for the binary wget. |
| `--default` | <yes> |  | Reset all settings to their default values. |
| `--default_option` | <option> |  | Reset a specific setting to its default value. |
| `--restart` | <yes> |  | Restart the service after saving settings. |

## Examples

```
// set the IFCONFIG location
juggernaut --task=other:binarylocations --IFCONFIG='/sbin/ifconfig' --restart=yes

// reset IFCONFIG to default
juggernaut --task=other:binarylocations --default_option=IFCONFIG --restart=yes

// reset all settings back to default
juggernaut --task=other:binarylocations --default=yes --restart=yes
```

## Related Pages

- [Watching IP Addresses](https://docs.danami.com/juggernaut/user-guide/watching-ip-addresses "Watching IP Addresses")
- [External Pre and Post Scripts](https://docs.danami.com/juggernaut/user-guide/external-pre-and-post-scripts "External Pre and Post Scripts")
- [Firewall](https://docs.danami.com/juggernaut/user-guide/firewall "Firewall")
- [Port / IP Redirection](https://docs.danami.com/juggernaut/user-guide/port-ip-redirection "Port / IP Redirection")
- [Disable Server IP Addresses](https://docs.danami.com/juggernaut/user-guide/disable-server-ip-addresses "Disable Server IP Addresses")

 [ ](https://docs.danami.com/juggernaut/command-line-interface/firewall/firewall-portipredirection) [](https://docs.danami.com/juggernaut/settings/firewall/general-settings)

---

## Navigation

- Next: [other:cloudflare](https://docs.danami.com/juggernaut/command-line-interface/other/other-cloudflare.md)
