Tunnel

Thomas Kaiser ubuntu at kaiser-linux.li
Tue Nov 14 18:07:19 UTC 2006


David Lynam wrote:
> Hi,
> I'm doin a project in MythTV and need to settup an IP Tunnel between my 
> Myth Server and my Myth Box, I was wondering if someone could give me a 
> step by step on setting up a Tunnel??
> David
> 

You can do TCP tunnels with ssh. Install openssh-server on your server 
system.
sudo apt-get install openssh-server

And issue a command like this on your client (eg.: forward port 25 from 
client to port 25 ons server:

sudo ssh -l your_login_name -L 
localport:servername_or_localhost:serverport severaddress_or_hostname

sudo ssh -l thomas -L 25:localhost:25 192.168.71.1

Enter your user password for sudo
Enter your login password to login to the server

Thomas


-- 
http://www.kaiser-linux.li




More information about the ubuntu-users mailing list