Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Postgresql + Win* + Dotnet + MAdProgrammer...argggggh

0 views
Skip to first unread message

Wodka40[Google]

unread,
Oct 4, 2009, 3:59:09 AM10/4/09
to
PC + Winxp
Postgresql last release ver .winzozz
LAN

Client : Program +VB.net (npgsql)

Problem:
2 client...1 LAN...1 WAN(internet....)

SSL enabled
but...
how configure WAN client? IP change every connection...VPN not good
idea (man won't install nothing...sigh!)

I dont know how configure pg_hba.conf to enabled wan client!

***************************************************************
Extended Italian version
C'ho un programma sviluppato in vb.net che deve accedere ad un server
postgresql....sia via lan che via internet.
Il tipo via internet è un commercialista rognoso che vuol connettersi
ogni tanto da casa e/o ufficio per controllare dei conti (farà quindi
solo delle select nessun dataentry). Non vuole installare nulla se non
il client che ho programmato)
Ho abilitato SSL...sulla lan interna non ho problemi
in pg_hba.conf ho abilitato gli ip
Ma in internet che cavolo abilito?
avevo pensato di inviargli un certificato con un pw supplementare...ma
ho comunque il problema a monte....far entrare questo ip...
come capite non sono un esperto..e già ho un po di brividi a far
entrare da internet un client (mi posso fidare dell'implementazione
di ssl?...ditemi di si)

Grazie!

Andreas Kretschmer

unread,
Oct 5, 2009, 3:49:48 AM10/5/09
to
Wodka40[Google] <marte...@gmail.com> wrote:
> PC + Winxp
> Postgresql last release ver .winzozz
> LAN
>
> Client : Program +VB.net (npgsql)
>
> Problem:
> 2 client...1 LAN...1 WAN(internet....)
>
> SSL enabled
> but...
> how configure WAN client? IP change every connection...VPN not good

Use a Dyn-DNS - Service, register your server there. Later you can use
the registered dyn-dns - name. For instance: http://www.dyndns.com/


> idea (man won't install nothing...sigh!)
>
> I dont know how configure pg_hba.conf to enabled wan client!

Enable ssl-connects from all ip:

hostssl all all 0.0.0.0/0 md5

(for instance)


Andreas
--
Andreas Kretschmer
Linux - weil ich es mir wert bin!
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net

0 new messages