Using Tunnels for Privacy and JTAN Service Access
Another term for a tunnel is a "Virtual Private Network" or VPN. The
idea is that your network connection disappears into the tunnel and then
reappears here at JTAN as if you were directly connected. You are then
"Virtually" connected to our local "Private Network".
A VPN Tunnel to JTAN is useful for enhancing your privacy, facilitating
the transport of multiple services through firewalls, and
accessing services restricted to JTAN
local hosts such as
- WWW Proxy
- NNTP Usenet News
- SMTP Relay
If you are not one of the fortunate few with a direct network connection
to JTAN (with a local IP address), then you must use a tunnel to access
any of these services.
A key benefit to using a secure VPN Tunnel is that all your
network activity is encrypted and funneled through a single network
connection to a single port. This makes your activity both difficult
to snoop, and easier to thread through a narrow hole in a firewall or
router. Of course, once your traffic leaves the tunnel, it travels
through the net in the normal way.
There are several sorts of VPN Tunnels that JTAN supports. The following
sections show how to set them up.
SSH Port Forwarding
If you have a JTAN ProShell or ProWeb account, you have shell access to
a JTAN host. With that access comes the ability to create a VPN tunnel
using SSH port forwarding.
The SSH protocol has the ability to forward arbitrary network
connections to specific ports over your encrypted SSH connection to the
JTAN shell machine. For example, you could use an SSH tunnel to connect from
your home computer to the WWW proxy server at JTAN. Even if your
company's firewall blocks SSH, there are tricks
you can use to get around this.
In order to use SSH port forwarding to connect from your local machine to
a port on a remote server, you need to:
- Choose a port number on your PC for your local end of the
tunnel.
- Select the host address and port that you want to
connect the other end of the tunnel to.
- Configure your SSH client to create a Local forwarded port
between your local port and the remote host and port.
- Configure network applications on your PC to use "localhost" and the
local port to access the service you are tunneling.
- Log in with SSH and use the tunnel.
For example, you might want to connect port 8080 on your local PC
through the tunnel to the anonymizing WWW proxy at JTAN on
"webproxy.jtan.com" port 3128. It doesn't really matter what port you
use at your PC, so long as it isn't used for something else. Some folks
like to use the same port number at both ends. Once SSH is configured to
create this local forwarded port, log in to JTAN with your SSH program.
You will find the WWW proxy service you are tunneling forwarded to localhost at
the selected 8080 port.
SSH Applications
There are SSH applications for every OS. See the JTAN With PuTTY, before you start your SSH connection, be sure to go to
the Tunnels panel (see section
4.19.2 of the manual). Make sure the "Local" radio button
is set. Enter the local port number into the "Source port"
box. Enter the destination host name and port number into the
"Destination" box, separated by a colon (for example,
webproxy.jtan.com:3128 to connect to JTAN's anonymizing WWW Proxy
server, use 3129 for transparent mode).