iptables questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello list,
I tried running endoshield, and got a ton of errors.
So, now I will try to do it manually. I'm going through a tutorial now, and I have a coupel questions.
I can do the following.
iptables -A INPUT -p tcp -dport 2200 -j queue
iptables -A INPUT -p tcp -sport 2200 -j queue
to allow for the traffic on port 2200 to go through. I think.
But, lets say I create a rule for each port. The ones I want to allow, and the ones I don't want to allow.
I think I can use a -s to make it only local if I want.
Then, how would I block the ports that I haven't created rules for?
next, if I set up the box as a DMZ, in front of the router, is there a way that I can make it manage all traffic coming in and out of the network? Just like the router would?
Thanks,
~~TheCreator~~
website:
http://tysplace.shaned.net
msn:
compgeek134 at hotmail.com
aim:
st8amnd2005
skype:
st8amnd127
moo coder/wizard and administrator



[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux