How can I redirect HTTP requests made from an iPad?

前端 未结 17 2345
后悔当初
后悔当初 2020-12-12 09:53

Since on an iPad we cannot edit the hosts file (without jailbreaking), how can we arbitrarily redirect web traffic to another url?

This would be important for someth

17条回答
  •  一整个雨季
    2020-12-12 10:23

    If you've been exploring this, and a few of the external links, you will possibly find this answer:

    https://stackoverflow.com/a/24770097/3842985

    It is about a light-weigh DNS server called dnsmasq. Super simple, very powerful, and can be used in conjunction with your internal or external DNS servers.

    Much easier than installing squid, fiddling with Apache, and other techniques that would be time-consuming, and risk the "integrity" of configurations, develop environments, test environments, etc.

    Well worth considering.

    I adopted that as a regular tool for development and for normal networking.

提交回复
热议问题