I use iptables better than Asus GUI for Mac Address Filter. my old router ac66u can handle 200+ devices instead of Radius Server. It wont slow down or freeze.
my old router ac66u running old version iptables and with entware-ng.
..
@RMerlin @kfp
I cant find in google and theres many similar problem with call iptables on script in this forum and still no solution.
so now I found solution. all you need to use full path if you call iptables in custom scripts any working with firewall-start,nat-start,service-start,etc. Its...
yes the script executed works without iptables. after execute, rule is not on iptables list.
thanks but firewall-start is not work with iptables i tried. like this:
#!/bin/sh
iptables -I FORWARD -i br0 -m set ! --match-set NAME src,src -j REJECT
with "chmod a+rx /jffs/scripts/*"
post-mount or firewall-start… it doesnt work with iptables…
Yes its enable.. post-mount is working to run with other command than iptables.
but i did tested that line with manual working fine but i put iptables in post-mount or firewall-start is not working.
Im having problem with Asus boot up cant call command one line.
i added to one script in /jffs/scripts/post-mount:
iptables -I FORWARD -i br0 -m set ! --match-set NAME src,src -j REJECT
(other lines like ipset,etc was working but ‘iptables' not working)
after boot up, i enter “iptables —list”…...
Im having with create, move and write access issues on USB drive except delete file. Every restart, it was working but up to 5-10 minutes. It went stop write or creating new file/folder. It giving error like “Operation not supported” then i check system log here:
Apr 13 11:54:22 kernel...
I think this firmware version have bug? or not? i checked system log here:
Apr 13 11:54:22 kernel: __ntfs_error: 5 callbacks suppressed
Apr 13 11:54:22 kernel: tntfs error (device sda2, pid 4421): ntfs_mft_data_extend_allocation_nolock(): Not enough space in this mft record to accommodate...
after i upgraded firmware to 384.4_2, is my Asus AC88U losing write access on USB HardDrive? It giving error said "
Operation not supported.” when create file and move file. all i can do access is delete file only?
@Juglar i found the solution for ipset v4.5 & iptables 1.4 for old router like ac66u or n66u:
ipset --create IpToMac_S macipmap --network 192.168.1.0/24 #create the set, for 24-bit IP address common prefix
ipset --add IpToMac_S 192.168.1.2,00:16:6F:5F:00:00 #AnaTosh
ipset --add IpToMac_S...
@Juglar im running ac66u but giving error:
modprobe: module xt_set not found in modules.dep
ipset v4.5: Couldn't load settype `bitmap:ip,mac':File not found