Thread: 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
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/ipfwadmsmall set of rules). I would also change Postrgres's pg_hba.conf file. It might be easy to deny all directaccess 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