Differences between revisions 36 and 40 (spanning 4 versions)
Size: 9533
Comment:
|
Size: 9728
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
/* College VPN does not work since /etc/postgresql/8.3/db/pg_hba.conf only allows 146.169.0.0 | |
Line 8: | Line 8: |
*/ | |
Line 10: | Line 11: |
This is similar to using VPN but at an application-level. Use an SSH client to create a tunnel from your computer outside the college network to db.doc.ic.ac.uk through one of the externally-accessible SSH servers: shell1.doc.ic.ac.uk - shell4.doc.ic.ac.uk. Here is the syntax from a Linux terminal (the same command can be run in a Mac OS X terminal): | Use an SSH client to create a tunnel from your computer outside the college network to db.doc.ic.ac.uk through one of the externally-accessible SSH servers: shell1.doc.ic.ac.uk - shell4.doc.ic.ac.uk. Here is the syntax from a Linux terminal (the same command can be run in a Mac OS X terminal): |
Line 147: | Line 148: |
"authenticated SSL."); | "SSL with validation."); |
Line 170: | Line 171: |
* Are you referencing the PostgreSQL jdbc driver correctly in your Java classpath? * Did you correctly configure and reference a local Java key store? |
PostgreSQL connections from off-site
If you want to connect directly to the PostgreSQL server from outside the college network, you must use SSL encryption. Here are four possible ways to address this.