Re: Different Port for PostgreSQL?

From: dan radom <dan(at)radom(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Different Port for PostgreSQL?
Date: 2002-09-23 18:39:40
Message-ID: 20020923183940.GL30179@lunar.radom.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

wouldn't it make sense to use a lower end system as your iptables gw / fw? i mean hardware is cheap, and iptables has no problems forwarding web traffic to a httpd on the iternal network that where postgres lives. why even open the database up to the general internet population when the httpd only needs to talk to it.

dan

* Dan Ostrowski (dan(at)triad-dev(dot)com) wrote:
> Hello all...
>
> I am developing a databasing system that will be used localy, but in tandem with a hosted web server.
>
> As such, I will be implementing a local PostgreSQL server and connecting it to the internet. However, this machine ( unfortunately ) will probably also have to run the firewall as well, but that's all it will be more than likely.. database and firewall.
>
> Ideally, I would be able to send a "REJECT" message ( via iptables ) if the connection is refused because the Database is down or somesuch, instead of just "DROP"ing the connection. This would speed up things for the web scripts when the DB is unreachable locally. However, port scans will then be able to easily figure out that I am running PostgreSQL on the standard port, presumably.
>
> Is there a way to run Postgre on some other non-standard port? Does it do well in this regard? How would i go about doing that?
>
> I know it won't "hack proof" anything really, just make it a bit more confusing for anyone doing port scans on my machine.
>
> ideas?
>
>
> regards,
> dan

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dan Ostrowski 2002-09-23 18:45:31 Re: Different Port for PostgreSQL?
Previous Message Justin Clift 2002-09-23 18:36:23 Re: Different Port for PostgreSQL?