Iv'e installed Merruk Technology Kernel which should make droid wall to work, but it doesn't. I have same error like before
Code:
error aplying iptables rules
Exit code: 11
iptables v 1.4.10
iptables: no chain/target mach by that name.
How get it work?
Related
jus got Revolution 611 flashed on my DHD.
vodafone australia since about may2011 unblocked inbound connections.
i often have a sshd running, so would like to hav that blocked from the internet.
wheres the best place to stick this command
/system/bin/iptables -A INPUT -i rmnet+ -p tcp --dport 22 -j DROP
so it executed at boot time ??
edit: all good worked it out. put an extra file in /system/etc/init.d folder with command inside it.
Hi,
My Galaxy S4 i9505 is on Android 4.3 stock rooted.
I would like to know if iptables is working before updating to android 4.4.2 stock.
Can someone do this test on his Galaxy on 4.4.2 stock rooted ?
Install Android Terminal Emulator and enable access point in network settings
In terminal :
HTML:
su
iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination 192.168.43.1:8980
This is risk-free, reboot your phone and iptables rules are deleted :cyclops:
And tell me if there is an error message like "getprotobyname is not implemented on Android" (if nothing is displayed it's ok)
Thanks !
I would like to run the command
Code:
iptables -t mangle -I POSTROUTING -o rmnet_data0 -j TTL --ttl-set 64
The command fails on the LOS 7.1.2 kernel with error: iptables: No chain/target/match by that name.
Checking the kernel for iptables TTL target support shows that it isn't present:
Code:
1|clark:/ # cat /proc/net/ip_tables_targets
HARDIDLETIMER
IDLETIMER
TRACE
NFQUEUE
NFQUEUE
NFQUEUE
NFQUEUE
NFLOG
CLASSIFY
DNAT
SNAT
CONNMARK
MARK
REJECT
MASQUERADE
ERROR
TCPMSS
TPROXY
TPROXY
REDIRECT
NETMAP
DNAT
SNAT
Is there/can someone compile a kernel with the iptables TTL target? I lack the ability to compile my own kernel.
Can some people try running
Code:
cat /proc/net/ip_tables_targets
and posting the result for their kernels?
Thanks!
I would like to run the command
Code:
iptables -t mangle -I POSTROUTING -o rmnet_data0 -j TTL --ttl-set 64
The command fails with error: iptables: No chain/target/match by that name.
Checking the kernel for iptables TTL target support shows that it isn't present.
Is there/can someone compile a kernel with the iptables TTL target? I tried to make my own kernel, but I did not succeed.
OP5, OO 4.5.10 (stock)
Thanks!
This is just a guess but maybe the Kali Nethunter kernel has it enabled? It's a kernel centered around pentesting and has all forms of packet monitoring and capturing enabled so it may work.
You could try the Official Nethunter kernel or the Unofficial one, Burgerhunter.
Nethunter Download:
https://build.nethunter.com/nightly/3.20-20170903-2143/
Burgerhunter Thread:
https://forum.xda-developers.com/oneplus-5/development/burgerhunter-t3638810
Thx, but does not support (work).
Hi guys,
I've debian installed on android MTK based phone using Linux Deploy app.
As you may know the debian is actually using the device kernel.
In my case it is 3.18 kernel.
That doesn't matter actually you could try arptables with termux or whatever you wish, but I can't use it !?
It is nft based arptables version 1.8.2 and if I try
arptables -I IN -s 192.168.0.10 -j DROP
Segmentation fault
If I try :
arptables -A IN -s 192.168.0.10 -j DROP
arptables: Invalid argument
Basically the -A gives invalid argument always and -I gives Segmentation fault no matter the command.
If I try:
arptables -L
arptables v1.8.2 (nf_tables): TABLE_ADD failed (Invalid argument): table filter
iptables-legacy works but I want specifically arptables because I need it to alter MAC addresses.
There must be already a working process as they are available at /proc/net/arp.
Anyone knows how to use arptables (nft based) ?
Thanks