Differences between revisions 38 and 40 (spanning 2 versions)
Size: 9690
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): |
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.