tridentadm@netscape.net (DukeNM) wrote in message news:<6b07a80.0308220257.2eff3c31@posting.google.c om>...
> i never been so frustrated. :( well i should admin that i am a newbie
> to firewalls/iptables. :)
I've been there, and I still consider myself a rookie with iptables.
I think rules are processed in the order they're listed. So, since
the first one is to reject everything, that's what happens.
What you need to start with is function definitions, including a
logging def, then your access rules, then your restriction rules. To
log, you need a rule that does the logging, then another rule after it
that does the rejecting.
To fix mine, I went to
www.netfilter.org, looked at their docs for NAT
(which was my goal) and just tailored their examples to suit my needs
(IP addressing, modem type, etc.). I kept the rules in the same order
they had, and it worked flawlessly first time.
Good Luck