mbeijen
New Around Here
For some reason my iptables is not working.
I created a file in /jffs/scripts/firewall-start and in there:
#!/bin/sh
iptables -I INPUT -s 85.25.207.201/255.255.255.0 -j DROP
File permissions are set correctly:
-rwxrwxrwx 1 admin root 67 Aug 21 15:57 firewall-start
And the rule gets loaded in iptables:
admin@ROUTER:/jffs/scripts# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
DROP all -- static-ip-85-25-207-0.inaddr.ip-pool.com/24 anywhere
I am trying to stop an bruce force attack from 85.25.207.201
Any help is very appreciated!
Marco
I created a file in /jffs/scripts/firewall-start and in there:
#!/bin/sh
iptables -I INPUT -s 85.25.207.201/255.255.255.0 -j DROP
File permissions are set correctly:
-rwxrwxrwx 1 admin root 67 Aug 21 15:57 firewall-start
And the rule gets loaded in iptables:
admin@ROUTER:/jffs/scripts# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
DROP all -- static-ip-85-25-207-0.inaddr.ip-pool.com/24 anywhere
I am trying to stop an bruce force attack from 85.25.207.201
Any help is very appreciated!
Marco