hi, i thing that this should do the trick, for you
iptables -F iptables -P INPUT DROP iptables -A INPUT -s 192.168.1.0/24 -j ACCEPT iptables -A INPUT -i "ppp0 or -s external_ip" -m state --state ESTABLISHED,RELATED -j ACCEPT all packages related with sended packages should be accepted. Tiago Fernandes On Wed, 8 Oct 2003 20:38:53 +1000 Renai <[EMAIL PROTECTED]> wrote: > hey ppl, > > setting up some simple iptables rules for a debian unstable box behind an > adsl > router. At the moment I have this: > > iptables -t filter -P INPUT DROP > iptables -t filter -A INPUT -s 192.168.1.0/24 -j ACCEPT > > but this seems to block all network packets coming into my box. What am I > doing wrong? > -- > http://sydney.indymedia.org > grass-roots independent media > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] >
pgp8NHnYbZfL0.pgp
Description: PGP signature

