Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

New answers tagged

0

Proxies by design aren't meant to be set system-wide. Apps are supposed to make proxied connections if they want to. And mostly apps fall back to no-proxy mode if for some reason proxy server isn't accessible. Also there are other limitations. http proxies can't handle UDP traffic and SOCKS proxies can't handle ICMP echo (which ping uses). A VPN network, ...


0

NOTE: Solution suggested here requires root access. I would like for all requests by connected devices to be redirected to my webpage When you create hotspot, Android runs dnsmasq as DHCP/DNS server (up to Android 9). We can use this DNS server to resolve every domain to your desired IP address. But you need to make sure the connected hosts don't use ...


1

By design proxy isn't to be set system-wide, it's to be used on per-connection basis by every app individually. However it's possible to enforce the proxy on whole traffic e.g. by modifying routing table or NAT rules at OSI Layer 2 or 3; either by rooting the phone (which you don't want to) or making use of VPN (as answered by Stephen Schrauger). However you ...


0

An answered by @p057 you need to set proxy in Wi-Fi settings on your phone. The reason is that hotspot network (AP or ad-hoc) cannot be configured to use proxy. Proxy is used on per-connection basis by apps themselves. It's not enforced system-wide. For details see Why proxy set on Android does not work when used as hotspot?


1

Your question is related to understanding of OSI model. Proxies use http/https or socks protocol, I assume you are talking about http which is an Application Layer (L7) protocol in OSI model. When an application generates http message, it's handed over to lower layer. In case of https, message is encrypted by SSL/TLS which are L6 protocols. At L4 the message ...


Top 50 recent answers are included