-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

check out http://tomii.dnsalias.com/firewall.txt

Works fairly well.

- -----Original Message-----
From: forums [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 10:35 AM
To: [EMAIL PROTECTED]
Subject: ipchains, rules not working



Hai,

I think it's something simple, but i just dont seem to find what it
is....

I want the internet side closed, the LAN  (and localhost) side
open...
So, i DENY everythin on the input chain, then open the LAN and
localhost
interfaces.... 

#############################################################
# Firewalling rules
#
# eth0 = LAN side
# eth1 = INTERNET side
# lo     =  localhost
#
#############################################################
#
# Flush all rules
#
ipchains -F input
ipchains -F output
ipchains -F forward
#
# Block everything incoming as a standard but allow outgoing and
passing
through when allowed
#
ipchains -P input DENY
ipchains -P output ACCEPT
ipchains -P forward ACCEPT
#
# Accept everthing incoming when it is on the local LAN or it is
localhost
#
ipchains -A input -i eth0 -j ACCEPT
ipchains -A input -i lo   -j ACCEPT
#

Should work i think, but it doesn't. I want to FTP to the LAN side,
but i
get no connection
When i set the input to ACCEPT, it works fine...

I dont understand, the above should work i think ? Talking RH
Advanced
Server 2.1 by the way here....

Anyone sees what my mistake is here ?

thanks
Wiljoh






- -- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.3

iQA/AwUBPl40ftPjBkUEZx5AEQL9FACgiQJ9RHICnNeFyakUXto5yJBFCwwAoJql
KOG1zBEzRgqVsu0uJ8KjkUxb
=UlqY
-----END PGP SIGNATURE-----



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to