While learning iptables, you might want to check out some scripts that do this job for you.
gShield: http://muse.linuxmafia.org/gshield.html ftp://muse.linuxmafia.org/pub/gShield/v2/gShield-2.8.tgz ftp://muse.linuxmafia.org/pub/gShield/v2/gShield-2.8.tgz.md5.sign It uses a BSD style configuration which is nice. Ina Patricia Lopez mumbled: > thanks Meric. > > I'll try using iptables. > what if i want to deny & log all incoming traffic to my eth0 and only > allow specific port connections like smtp,http,ssh and imap? how do i > specify port? > > thanks, > ina _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
