if i add a ip address on my wifi hotspot interface with ip a add dev wlan1 (in a root shell), i then can't ping it (or connect to it in any way) from my laptop that is in the same hotspot network with ip

with tcpdump on the phone i see, the icmp requests coming in from to, but they are just ignored by the phone.

This led me to believe that it has to do with some kind of firewall so i tried on my phone:

  • iptables -I INPUT -i wlan1 -j ACCEPT
  • iptables -I OUTPUT -o wlan1 -j ACCEPT
  • iptables -I FORWARD -i wlan1 -o wlan1 -j ACCEPT
  • iptables -I INPUT -d -j ACCEPT

But no luck.

Does anyone have any idea, what makes android just ignore traffic destined for ips added with the ip command?

(phone: Fairphone4 with Lineageos 20-20230625-NIGHTLY-FP4, android-version: 13)


You must log in to answer this question.

Browse other questions tagged .