[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sshd



On Tue, Aug 21, 2001 at 09:00:07PM -0400, Titus Barik wrote:
| On Tue, 21 Aug 2001, Titus Barik wrote:
| 
| > On Tue, 21 Aug 2001, dman wrote:
| > 
| > > On Tue, Aug 21, 2001 at 03:13:30PM -0400, Titus Barik wrote:
| > > | On Tue, 21 Aug 2001, dman wrote:
| > 
| > iptables -L returns:
| 
| Okay, updates. I forgot to mention that I also recompiled my kernel and
| enabled iptables and net filtering in 2.4.6. Now, I can, amazingly
| enough (go me) SSH and telnet into my box from OTHER machines. However,
| I can not telnet or SSH into my own box from my own machine? Why is
| this? Also, I can't seem to ping 127.0.0.1.

You must be blocking INPUT or OUTPUT to 127.0.0.1 somehow.  I made
this mistake when setting up my firewall rules.  Be sure and have the
following commands in your config (or enter them from a root shell) :

    # allow loopback
    iptables -A INPUT -s 127.0.0.1/32 -j ACCEPT
    iptables -A OUTPUT -d 127.0.0.1/32 -j ACCEPT

HTH,
-D



Reply to: