On Wednesday 05 May 2004 6:43 pm, Martijn Lievaart wrote: > Oriol Magrané wrote: > > Hello! > > Just one question... > > I have a firewall with the INPUT, OUTPUT and FORWARD policies set > > to DROP, and now I want to allow connections from localhost to > > localhost (any port). Which chains are implied here? INPUT? OUTPUT? Both? > > How should the needed rule(s) be? > > This should do it: > -A INPUT -i lo -j ACCEPT > -A OUTPUT -i lo -j ACCEPT Actually, I would suggest instead: iptables -A INPUT -i lo -j ACCEPT iptables -A OUTPUT -o lo -j ACCEPT :) Antony. -- "When you talk about Linux versus Windows, you're talking about which operating system is the best value for money and fit for purpose. That's a very basic decision customers can make if they have the information available to them. Quite frankly if we lose to Linux because our customers say it's better value for money, tough luck for us." - Steve Vamos, MD of Microsoft Australia Please reply to the list; please don't CC me.