While continuously searching for ways to remove the iPhone tethering limit, I discovered someone's post.
It's about opening a Python server on the iPhone to transmit data.
I proceeded with reference to this person's post and GitHub.

1. IOS-SOCKS-SERVER
SOCKS is a protocol that mediates socket communication.
When you run this on your iPhone, the iPhone opens a TCP socket instead of the device and connects to Google's server to relay data.
The problem is installing this on the iPhone, as the download isn't visible through the GitHub app.
Access through Chrome to download the zip file.

2. iSH Shell
The author used a paid app called Pytonista3. However, I found a free terminal app.
It's called iSH Shell.
By default, it doesn't include Python.
Like apt in Linux, there is an official package manager called apk.
apk update
apk add python3After doing this, check the Python version, and 3.9 will be installed.
With this, you're halfway there.

3. Python Version Upgrade
If you directly execute the Python file downloaded from GitHub, it will produce errors.
This is due to the union syntax introduced in Python 3.10+.
Upgrading Python seemed easier than changing the code.
Copy and paste the code below.
echo "https://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories
echo "https://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
apk update
apk upgrade
python3 --versionDoing this will upgrade Python along with other libraries.

4. File Movement and Execution
Using pwd, I found that the current path was /root.
Insert the file you downloaded earlier into the app's corresponding path and extract it.
The folder name was complicated, so I changed it to socks.

After checking the files with the ls command, run the file using the command below.
python3 socks5.pySome errors appear, but they don't seem critical.
If it appears like below, it's successful.

5. Setting on MacBook
Now, configure the hotspot settings on the MacBook.
Go to Settings > Network > ...

Add a location under Location.
I named it socks.

If the setup is successful, all other existing services will disappear as shown below.

Connect to the iPhone hotspot via Wi-Fi.
Then click on connection details.

Go to Proxy > SOCKS and enter the SOCKS proxy shown on the iPhone.
Once set up, accessing the internet works well.

6. Keep Screen Turned On
The downside is that due to IOS policy, server operation in the background is restricted.
Thus, the iPhone app must remain on to keep using the hotspot.
Press the gear icon above the keyboard and turn on the Keep Screen Turned On option.

7. Review
It seems like using a budget carrier involves accepting some inconvenience.
While bypassing, I learned about the SOCKS protocol and iSH Shell for the first time.
And I realized again that there are always methods and loopholes.
It was truly enlightening learning.
댓글을 불러오는 중...