Get emergency internet access on your Mac via your iPhone if you don't have a hotspot-enabled plan.
- Download iSH App: https://ish.app/, once opened set up the ssh server with:
adduser rich
apk add openssh nano
ssh-keygen -A
nano /etc/ssh/sshd_config -- Set: AllowTcpForwarding yes
/usr/sbin/sshd -d (Runs in debug mode)
/usr/sbin/sshd (Run as daemon / in background mode)
-
On your Mac create an Adhoc WiFi network
-
Join iPhone to this new Adhoc WiFi network, and make a note of the IP address your phone gets (169.254.x.x)
-
On your Mac, open a terminal and connect to the SSH server running on the iphone with
ssh -D 1234 rich@169.254.6.238
-
Optionally Test/Verify with:
curl --socks5-hostname 127.0.0.1:1234 ifconfig.co/json
-
Configure Firefox Network Settings:
- Set SOCKS5 Host to 127.0.0.1:1234 / SOCKS v5.
- Tick "Proxy DNS when using SOCKS5 box"
- Optionally install https://www.proxifier.com to send all traffic down proxy