Alexey Eremenko wrote:
Hi all !
I'm Running SUSE Linux 10.0, x86. with Apache2 HTTP server at home. I want to block access to my Apache2 server from all interfaces, including myself (loopback).
I set up iptables, and did:
iptables -F INPUT iptables -A INPUT -j DROP iptables -F OUTPUT iptables -A OUTPUT -j DROP
Those 4 commands, theoretically, should kill all my network activity. (I have no IP forwarding) and this stopped pinging to myself: ping 127.0.0.1
but for some totally unknown reason, I still could access "http://localhost"
two questions: 1. why I still could access "http://localhost" ? 2. how to disable *all* network traffic ?
Thanks. -Alexey. 20.1.2006.
iptables -F INPUT iptables -F OUTPUT iptables -F FORWARD iptables -P INPUT -j DROP iptables -P OUTPUT -j DROP iptables -P FORWARD -j DROP -- Kulla