PDA

Bekijk de volledige versie : oleg firmware firewall rules



raiderG
15-01-2011, 17:21
Hi,

I ave following post-firewall configuration.

#!/bin/sh
#set default policy
iptables -P INPUT DROP
#remove last default rule
iptables -D INPUT -j DROP
# limit access to 22 port for 3/min
iptables -I INPUT -m tcp -p tcp --dport 22 -m state --state NEW -m limit --limit 3/min --limit-burst 3 -j ACCEPT
iptables -I INPUT -p tcp --dport 81 -j ACCEPT
iptables -I INPUT -m tcp -p tcp --dport 9091 -j ACCEPT

When showing with iptables -L I see other rules and also this one that "blows up" my security, on chain INPUT:

ACCEPT all -- anywhere anywhere state NEW

This must have been set up by some part of the oleg firmware. Do you know where is that firewall setting part so I can edit it ?