# Complete Configuration Options You can use `easytier-core --help` to view all configuration options. ## Basic Settings - **Startup and Version** - `-h, --help`: Print help information. - `-V, --version`: Print version information. - **Configuration File** - `-c, --config-file `: Path to the configuration file. If this option is set, all other options will be ignored. - **Instance Identification** - `--hostname `: Hostname to identify this device. - `-m, --instance-name `: Instance name, default is `default`. ## Network Configuration - **Server and Network** - `-w, --config-server `: Configuration server address. - `--network-name `: Network name, default is `default`. - `--network-secret `: Network secret, default is empty. - **IP Configuration** - `-i, --ipv4 `: IPv4 address of this node, empty means only forwarding packets. - `-d, --dhcp`: Automatically set IP address, default starts from 10.0.0.1. - `--dev-name `: Optional TUN interface name. - `--mtu `: MTU of the TUN device, default is 1380 for non-encrypted, 1360 for encrypted. ## Connection Management - **Listeners and Portals** - `-l, --listeners [...]`: Listeners to accept connections. - `--mapped-listeners [...]`: Specify public addresses for listeners. - `--no-listener`: Do not listen on any port. - `--vpn-portal `: Define the URL of the VPN portal. - `--rpc-portal `: Management RPC portal address, default is 15888. - **Nodes and Routing** - `-p, --peers [...]`: Initial peers to connect to. - `-e, --external-node `: Use public shared nodes to discover peers. - `--exit-nodes [...]`: Exit nodes to forward all traffic. - `--enable-exit-node`: Allow this node to become an exit node. - `--manual-routes [...]`: Manually assign route CIDR. - `--relay-network-whitelist [...]`: Only forward traffic for whitelisted networks. ## Logging and Debugging - **Log Level** - `--console-log-level `: Console log level. - `--file-log-level `: File log level. - **Log Storage** - `--file-log-dir `: Directory to store log files. ## Advanced Features - **Performance Optimization** - `--latency-first`: Latency first mode. - `--multi-thread`: Run with multi-threading. - `--disable-udp-hole-punching`: Disable UDP hole punching. - **Security and Privacy** - `-u, --disable-encryption`: Disable encryption, default is false. - `--disable-ipv6`: Do not use IPv6. - `--compression `: Compression algorithm to use, default is `none`. - **Proxy and Forwarding** - `--proxy-networks `: Export local networks to other peers. - `--socks5 `: Enable socks5 server. - `--ipv6-listener `: IPv6 listener URL. - `--no-tun`: Do not create TUN device. - `--use-smoltcp`: Enable smoltcp stack. - `--bind-device `: Bind socket to physical device. - `--relay-all-peer-rpc`: Forward all peer RPC packets. - **Communication Restrictions** - `--disable-p2p`: Disable P2P communication. - `--no-tun`: Do not create TUN device to use subnet proxy to access nodes.