At 29 August, 2003 Andrew Gaffney wrote:
> I'm trying to create a firewall using iptables. I want it to drop 
> incoming packets except to ports 22, 25, and 80 unless the source 
> address is 192.168.254.x. I'm asking before I do this because I'm 
> accessing the computer remotely right now and I don't want to cut myself 
> off from it.
<snip>

I'd suggest using the projectfiles.com rc.firewall script. Works For Me,
and it can do some rather neat NAT sorts of things, too. I don't know
how well it'll work under Gentoo as a startup script, but you can always
just run it manually.

http://projectfiles.com/firewall/


-- 
Andrew Farmer
[EMAIL PROTECTED]

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to