Features
Provide Proxy for Local Network Devices

Provide Proxy for Local Network Devices

Stash iOS and Stash Mac both support providing proxy for local network devices.

HTTP Proxy or SOCKS Proxy

Stash iOS and Stash Mac both support providing HTTP proxy and SOCKS proxy on port 7890. After enabling "Allow Lan Connections", local network devices can access the proxy service provided by Stash through port 7890.

For example, if the device with IP address 192.168.1.10 is running Stash in the local network, the following commands can be used to configure the proxy for the shell:

export https_proxy=http://192.168.1.10:7890
export http_proxy=http://192.168.1.10:7890
export all_proxy=socks5h://192.168.1.10:7890

Provide Proxy through Personal Hotspot

After turning on a personal hotspot on devices such as iPhone/iPad, Stash can provide HTTP proxy or SOCKS proxy for devices connected to personal hotspot. This feature also requires enabling "Allow Lan Connections".

Stash Mac Transparent Proxy

Stash Mac transparent proxy requires enabling "Enhanced Mode".

For example, if the device with IP address 192.168.1.10 is running Stash Mac in the local network, the gateway of the local devices needs to be configured as 192.168.1.10, and the DNS needs to be set to 198.18.0.2 to connect to Stash through transparent proxy.

Stash Mac Enhanced Mode can proxy TCP, UDP, ICMP traffic.