All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kelly Setzer <Kelly.Setzer@placemark.com>
To: tamato@attbi.com
Cc: netfilter@lists.netfilter.org
Subject: Re: Iptables & Remote SSH Sorrows
Date: Thu, 10 Apr 2003 13:38:27 -0500	[thread overview]
Message-ID: <20030410183827.GC17730@placemark.com> (raw)
In-Reply-To: <E193gj0-0008Qi-00@kashyyyk.netfilter.org>

On Thu, Apr 10, 2003 at 06:24:33PM +0000, tamato@attbi.com wrote:
> I have configured iptables to allow ssh connections.  However, no one is able 
> to connect unless I add their IP address to the /etc/hosts file.  Since my 
> remote useres are on dynamic IP's - their address changes each time they log in 
> to their internet accounts.  
> 
> Is there a way to configure iptables or another system file that would allow 
> ssh connections from any IP?
> 

In your sshd config file (/etc/sshd/sshd_config on debian), check the
following option.  If it's set to yes, change it to no.

VerifyReverseMapping
  Specifies whether sshd should try to verify the remote host name
  and check that the resolved host name for the remote IP address
  maps back to the very same IP address.  The default is "no".


Also, check /etc/hosts.allow.

You should have:

sshd: ALL

Whereas, you probably have something like:

ALL: PARANOID


Kelly

--
Kelly Setzer, System Administrator/Architect - Placemark Investments
14180 Dallas Pkwy, Suite 200, Dallas, TX 75240
kelly.setzer@placemark.com  http://www.placemark.com
(972)404-8100x41 (work)       (214) 287-3464 (cell)


  reply	other threads:[~2003-04-10 18:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-10 18:24 Iptables & Remote SSH Sorrows tamato
2003-04-10 18:38 ` Kelly Setzer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-04-10 20:01 Daniel Chemko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030410183827.GC17730@placemark.com \
    --to=kelly.setzer@placemark.com \
    --cc=netfilter@lists.netfilter.org \
    --cc=tamato@attbi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.