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

Reply via email to