[IPTables] Android 7 block all internet connections except 2-5 IP addresses.

Hello!
I have rooted device and need to prevent VPN connection traffic leak. So, in terminal I put this script.

Code:
iptables -A INPUT -i lo -j ACCEPT iptables -A INPUT -s 192.168.43.0/24 -j ACCEPT iptables -A INPUT -s XX.XX.XX.XX -j ACCEPT iptables -A INPUT -s XXX.XXX.XXX.XXX -j ACCEPT iptables -A INPUT -s YYY.YYY.YYY.YYY-j ACCEPT iptables -P INPUT DROP

All works good, OpenVPN connects to servers, but, in google chrome no one website open. Every time I get "You are offline"

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by vbartoletti
3 hours ago
Last post by audra.keebler
4 hours ago
Last post by reese.champlin
3 hours ago
Last post by ycartwright
3 hours ago
Last post by senger.aniyah
2 hours ago
Last post by kariane86
50 minutes ago
Last post by ward79
1 hour ago
Last post by dangelo.oberbrunner
2 hours ago