Click to See Complete Forum and Search --> : Iptables Questione (:OUTPUT ACCEPT)


Neg127
09-13-2004, 01:42 AM
Well I'm trying to design a firewall for my new system I will be running from home. I have looked at a few examples but do not under stand how to determin what values to enter for some settings.

Example

*nat
:PREROUTING ACCEPT [127173:7033011]
:POSTROUTING ACCEPT [31583:2332178]
:OUTPUT ACCEPT [32021:2375633]
COMMIT



I have read and dont really under stand how to set the values in the brackets for the port ranges to allow in my rulesets etc.

I dont understand how to generate the values in the brackets. :PREROUTING ACCEPT, :POSTROUTING ACCEPT, :OUTPUT ACCEPT.

Thanks for any input given.
Neg127

Sorry just noticed I accadently put this in the wrong forum. ment to put it under networking..... must have had to many tabs open.

Icarus
09-13-2004, 09:03 AM
Try skimming the various IpTables howtos (http://www.google.com/linux?hl=en&lr=&ie=UTF-8&q=iptables+howto&btnG=Google+Search) available.

I personally don't know it very well, so this is the route I would take ;)