Emulating port redirection (port 53) without root
1
vote
1
answer
153
views
How to emulate binary program that reading port 53 will be redirected to another port such as port 10053.
So the binary program still sees it as 53 but the actual port at top layer will be redirected to 10053.
I'm using android non-root, the binary program is reading port 53 which it doesn't have DNS server installed and not permitted to listen such port (port 0-1023 is not allowed for non-root user)
Is there any idea? Can proot handle that? Or is there another approach?
Specifically, the binary program I mean is
cloudflared
. I downloaded cloudflared
for aarch64 instead of from termux repository because cloudflared at termux is obselete, (it was working fine previously).
That downloaded binary is trying to read port 53 for local dns server which it's not possible in android non root.
Perhaps proot
can do that?
Asked by Muhammad Ikhwan Perwira
(213 rep)
Apr 7, 2024, 04:23 PM
Last activity: Apr 9, 2024, 02:25 AM
Last activity: Apr 9, 2024, 02:25 AM