LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-14-2013, 11:27 PM   #1
ghstkhp
LQ Newbie
 
Registered: Feb 2013
Posts: 7

Rep: Reputation: Disabled
SSH Tunneling


hello
i have access to (PPTP,L2TP,SSTP,HTTPS,SOCKS) accounts.
is there anyway to use ssh tunneling for me?
 
Old 02-15-2013, 08:13 AM   #2
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 6/7, Vista, XP , WIN7, Server 03/08
Posts: 1,278

Rep: Reputation: 91
I don't see ssh (secure shell) on that list, so no. What are you trying to SSH tunnel for? Perhaps there is an alternative to what you want to do. Also while not on the list if you can login into the server via SSH remotely then you can tunnel because SSH is enabled.
 
Old 02-15-2013, 08:20 PM   #3
ghstkhp
LQ Newbie
 
Registered: Feb 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
ok thank you
I want to use it for compressing and encrypting my connection.
on more question.how can i control my ports(blocking a port,redirecting some or all ports to another port,...)

Last edited by ghstkhp; 02-15-2013 at 08:39 PM.
 
Old 02-15-2013, 09:15 PM   #4
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,231

Rep: Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071Reputation: 1071
To heck with SSH tunneling ... use VPN. (With digital certificates.)

Don't overlook that most routers come with VPN support built-in, so it may well be possible to set up a secure "internal" network over the Internet using no special software-support at all... just let the VPN-enabled hardware do what it's designed to do.

The very best cryptography is "unobtrusive."
 
1 members found this post helpful.
Old 02-15-2013, 09:34 PM   #5
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 6/7, Vista, XP , WIN7, Server 03/08
Posts: 1,278

Rep: Reputation: 91
Well an SSH tunnel is not ideal for compressing and encrypting if you want to basically direct all your traffic over it. A VPN is a more ideal solution for that L2TP would be more ideal for that, though if you only wanted to do web browsing socks would work as well. You can also use Dynamic forwarding for web browsing with an ssh tunnel as well. Finally there is a project called sshuttle https://github.com/apenwarr/sshuttle that uses Python, an ssh connection and iptables to turn an ssh connection into a VPN like solution.

As far as controlling ports and traffic that will depend on the solution you are using. You can for instance use dynamic port forwarding with SSH and socks to encrypt web browsing and use the ssh server like a proxy. See http://www.debian-administration.org...ing_with_SOCKS for an example of how to set that up. Of couse then you need to go into the preferences for your system or browser and set the proxy server settings to match those of you ssh tunnel.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH server and SSH tunneling Achical Linux - Security 5 05-20-2012 10:07 AM
SSH Tunneling kpenrose Linux - Networking 4 10-16-2007 05:40 PM
SSH tunneling entz Linux - Networking 3 04-04-2007 07:22 AM
X tunneling with SSH phekno Linux - Networking 3 05-31-2005 10:43 AM
SSH Tunneling danny_beta_read Linux - Networking 0 06-10-2004 02:43 PM


All times are GMT -5. The time now is 09:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration