diff --git a/easytier-contrib/easytier-mini/Cargo.toml b/easytier-contrib/easytier-mini/Cargo.toml index 240405e4..922acf00 100644 --- a/easytier-contrib/easytier-mini/Cargo.toml +++ b/easytier-contrib/easytier-mini/Cargo.toml @@ -12,6 +12,7 @@ anyhow.workspace = true easytier = { workspace = true, features = [ "aes-gcm", "dhcp-ipv4", + "icmp-proxy", "logging", "proxy-cidr-monitor", "smoltcp", diff --git a/easytier-contrib/easytier-mini/README.md b/easytier-contrib/easytier-mini/README.md index 0ec7015c..3b20f5c8 100644 --- a/easytier-contrib/easytier-mini/README.md +++ b/easytier-contrib/easytier-mini/README.md @@ -98,6 +98,8 @@ back to AES-GCM rather than plaintext. The compact runtime supports `tcp://` and `udp://` listener, mapped-listener and peer URLs. `no_tun = true` runs through smoltcp without an OS TUN device, and `dhcp = true` allocates the virtual IPv4 address dynamically. +Configured `proxy_network` IPv4 subnets are advertised and proxied for TCP, UDP +and ICMP. The mini feature set keeps STUN collection, UDP hole punching, Web heartbeats, Web instance lifecycle management and the config hot-patch RPC. It omits TCP diff --git a/easytier/src/instance/config.rs b/easytier/src/instance/config.rs index d4451275..653ae704 100644 --- a/easytier/src/instance/config.rs +++ b/easytier/src/instance/config.rs @@ -71,7 +71,7 @@ pub(crate) fn compact_runtime_core_host_config() -> CoreInstanceHostConfig { config.host_routing.local_exit_node_fallback = false; config.public_ipv6_provider_supported = false; config.gateway_enabled = false; - config.proxy_enabled = false; + config.proxy_enabled = cfg!(feature = "smoltcp"); config.vpn_portal_enabled = false; config.magic_dns_enabled = false; config.kcp_enabled = false;