Skip to content.

UPR HPCf

Sections
Personal tools
You are here: Home » Members » humberto's Home » Test ZWiki » SshVpn
Views

SshVpn

last edited 6 years ago by humberto

SSH VPNs? - One step Tunneling

If you are on a remote site and like to have your IMAP working securely you can do the following (as root).

ssh -l your_user_name -2 -N -f -L 143:mail.hpcf.upr.edu:143 mail.hpcf.upr.edu

When prompted for a password is your mail password.

On your mail client just change to read the email from localhost or 127.0.0.1.

If you want to access hpcfinfo you can do the following:

ssh -l your_user_name -2 -N -f -L 80:astraeus.hpcf.upr.edu:80 astraeus.hpcf.upr.edu

when prompted for password is your password at astraeus, right now the same as mail.

Then access the page like this:

http://localhost/twiki/ or http://127.0.0.1/twiki/

-- Main.WilliamCaban? - 31 May 2001

It works! I'm editing this page right now with it. If I add -N -f it will close the ssh tunnel after each page access. And I had a local httpd on port 80,so I moved the local port to 8880:

ssh -l your_user_name -2 -L 8880:hpcfinfo.hpcf.upr.edu:80 astraeus.hpcf.upr.edu

and use http://localhost:8880/twiki/

-- Main.HumbertoOrtiz - 02 Jun 2001

 

Powered by Plone

This site conforms to the following standards: