All of lore.kernel.org
 help / color / mirror / Atom feed
* LAN pass, but not loopback
@ 2005-05-20 22:26 un_brice
  2005-05-21 23:24 ` Taylor, Grant
  0 siblings, 1 reply; 2+ messages in thread
From: un_brice @ 2005-05-20 22:26 UTC (permalink / raw)
  To: netfilter

Hi,
I'm currently trying to discover iptables. In that aim I created a little 
script to "protect" my lan (4 computers).
It became pretty complex with the time, but remain clean... and should work, 
at least I think.
The problem is it doesn't : it contain, among other things
#Loopback interface
iptables -A INPUT -o lo -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT
[..]
#Apache
iptables -A INPUT -p tcp --dport http -m connlimit ! --connlimit-above 40 \
-j ACCEPT

From the inside, wget http://my_server works as it should, from outside also, 
but not from the computer himself !
For the same reason (i think) Samba cannot connect to CUPS... and I've many 
other problems.
I've tried as I could to understand this problem but failed. On the other 
hand, each time I suspected a bug in a complex software (iptables here), I 
was wrong.
So, if one would have time to tell me were... mummy would be very happy as she 
could print again -_^.

Sorry for my bad english. You can read the whole script at 
http://98111.free.fr/serv/served/iptables.en.sh , I tried to traduce comments 
in english but I'm not sure of the result.

By the way, what do you think of the way I tried to reduce the overload due to 
TARPIT ? Would it work ?

Thanks !
Brice

-- 
"Emacs is my operating system, and Linux its device driver."
 -- Bake Timmons


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-21 23:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-20 22:26 LAN pass, but not loopback un_brice
2005-05-21 23:24 ` Taylor, Grant

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.