pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nicolas Huillard <nhuillard@ghs.fr>
To: 'Doug Alcorn' <doug@lathi.net>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: RE: using ssh for network authentication
Date: Sun, 21 May 2000 18:37:46 +0200
Message-ID: <01BFC355.64CDAB20@ppp12-cergy.isdnet.net> (raw)

The thing I usually do for this kind of protection is setup the machine's firewall, under Linux (just a matter of a new ipchains/ipfwadm small set of rules). I would also change Postrgres's pg_hba.conf file. It might be easy to deny all direct access to Postgres port 5432 using it.

Nicolas Huillard

-----Message d'origine-----
De:	Doug Alcorn [SMTP:doug@lathi.net]
Date:	dimanche 21 mai 2000 05:02
À:	pgsql-admin@postgresql.org
Objet:	[ADMIN] using ssh for network authentication

OK, I saw in the admin guide about how to do port redirection using
ssh.  I even got it working.  My question now is how to prevent any
network connections to my server via port 5432 and make sure they all
come through my sshd.
-- 
 (__)  Doug Alcorn (mailto:doug@lathi.net - http://www.lathi.net)
 oo /  Win a 66GB capacity tape drive. Help me win too!
 |_/   http://www.ecrix.com/extreme/getReferrals.cfm?ref=7612



view thread (2+ messages)

Message-ID: <01BFC355.64CDAB20@ppp12-cergy.isdnet.net>
Permalink:  ../01BFC355.64CDAB20@ppp12-cergy.isdnet.net/
Also on:    postgresql.org/message-id/01BFC355.64CDAB20@ppp12-cergy.isdnet.net

 · 

reply

Reply instructions:

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

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: nhuillard@ghs.fr, doug@lathi.net
  Subject: Re: using ssh for network authentication
  In-Reply-To: <01BFC355.64CDAB20@ppp12-cergy.isdnet.net>
  References: <01BFC355.64CDAB20@ppp12-cergy.isdnet.net>

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

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox