|
|||||||
|
|
| ||||||
MindTerm can be started a few ways. If you have the JRE installed then you can double-click on themindtermfull.jar application file. Another way is to open up a dos-shell and type the command:
or
or
(jview is used if you are using Windows and you don't download the JRE. Javaw comes with theWindows JRE download and is used because a dos-shell box won't be needed in order to runMindTerm so there is one less window open)
MindTerm 2.0 is now available. The argument to start it has changed slightly. Instead of the commandabove:
this will start MindTerm from the commandline:
Only the "com." was added to the applet parameter.
This will start the MindTerm program and you can then type the server name when prompted and itwill prompt you to "
We'll create a tunnel to the POP and SMTP server, first. After you have successfully logged in (andoptionally enabled vlock) click on
Local port:
Remote Hosts: Your remote host (this should be the server running the sshd server).
Remote port:
Now click
Open up Netscape
Click on
On the left column click on
Click on
Click on
Click on
Click
If POP is not already selected in that drop down box, select it now.
In the Server Name box type
Click
In the box
Click
Now click on
Click
You should then be prompted for your password. Type your password and hit enter. If you have mail you should now be able to read it.
As long as you have a MindTerm ssh session open, this should work with most email clients.Remember that the remote server name or POP server name will be "localhost:". If you are asked forthe POP server and port seperately then add it accordingly. Any connections to the local port 2010, inthis example, will be forwarded to the remote hosts' port 110. If you configure an ftp client to connectto the localhost port 2010, right now it wouldn't work. Why? The POP protocol doesn't understand ftpprotocol. Only POP clients can be forwarded to the localhost port 2010 for the tunnel to be effective.A POP server isn't any good if you don't have an smtp server. If you have a mail program like Postfix (
With the MindTerm client still running click on Tunnels again then Basic and add these settings.
Local Port:
Remote Host: Your remote smtp server.
Remote Port:
Click
To enable encrypted ftp sessions add these settings to a new tunnel.
Local Port:
Remote Host: Your remote ftp server.
Remote Port:
Click
Imap settings:
Local Port:
Remote Host: Your remote imap server.
Remote Port:
Click
All these settings can be automated in a batch file. Simply add the following to a startup script toautomatically create a tunnel to your pop server after authentication:
Here is an example based on what we've done above. Add the following to a file in an editor:
now save it with a
When you are finished using the MindTerm, be sure to close all applications that are using a tunnel. Ifyou forget to close the programs using the tunnels, MindTerm will display a message when you attemptto exit from the console or quit the program.
What about VNC and NTOP? These services work the same way. Here the VNC server was runningon a RedHat 7.0 workstation. When you start the VNC server, it first listens on port 5901 and eachserver after that increments up 1 port so the second instance of VNC will listen on port 5902, and thethird 5903, etc.. On Linux, you can run multiple VNC servers and people can connect to each VNCserver as well. In MindTerm you can simply add a VNC tunnel with the following settings:
Local Port:
Remote Host: Your remote VNC server host name.
Remote Port:
Click
Run the vncviewer application on your local machine and type:
Ntop works the same way. If you want to run ntop in web mode as a network monitor, you can tunnelconnections to your local machine and view the stats in your local browser, without having to install awebserver or opening port 3000 on your remote server. By default, ntop in web mode listens on port3000 and waits for an http connection to display network stats. Simply create a tunnel to the serverrunning the ssh server and ntop. First run ntop in web mode: ntop -d -w 3000 Then add the settingsto the MindTerm tunnel:
Local Port:
Host: Server running ntop.
Remote Port:
Click
Open up your web browser and in the location bar type:
|
|
|
Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account Document on this page is part of "Encrypted Tunnels using SSH and MindTerm HOWTO". See Index Page for more info about Authorship and Copyright. 1999-2008 Linuxinfor.com. No rights reserved. |