Menu

1 / 5

give your self-hosted ai agent a home ip with a spare android phone and tailscale

DEV Community: android·lodar·7 days ago
#dj1XJhYD
#devtoandroid#devto#dev#browser#tailscale
Reading 0:00
15s threshold

an old android phone on your home wifi can give your agent's browser a home ip, for free. set it up when a site blocks your server. don't expect a smarter agent: in our tests a home ip didn't reliably help.

why a home ip

a server has a datacenter ip, and some sites refuse those outright, at login or on every page. a phone at home looks like your laptop. route only the agent's browser through it and keep everything else on the server's own line.

you need the phone, plugged in, and a free tailscale account.

1. make the phone an exit node

install tailscale on the phone and sign in. in the app, open exit node and turn on run as exit node . then in the tailscale admin console, open the phone's machine settings and allow it as an exit node.

set the tailscale app's battery use to unrestricted . we started with a socks5 proxy app on the phone instead. android killed it about once a day, once overnight in the middle of our benchmark, and the runs sat for five hours.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.