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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-14-2013, 11:27 PM
|
#1
|
|
LQ Newbie
Registered: Feb 2013
Posts: 7
Rep: 
|
SSH Tunneling
hello
i have access to (PPTP,L2TP,SSTP,HTTPS,SOCKS) accounts.
is there anyway to use ssh tunneling for me?
|
|
|
|
02-15-2013, 08:13 AM
|
#2
|
|
Senior Member
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 5.0(Lenny), Vista, XP , WIN7, Server 03/08
Posts: 1,270
Rep:
|
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.
|
|
|
|
02-15-2013, 08:20 PM
|
#3
|
|
LQ Newbie
Registered: Feb 2013
Posts: 7
Original Poster
Rep: 
|
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.
|
|
|
|
02-15-2013, 09:15 PM
|
#4
|
|
Senior Member
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 4,579
|
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.
|
02-15-2013, 09:34 PM
|
#5
|
|
Senior Member
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 5.0(Lenny), Vista, XP , WIN7, Server 03/08
Posts: 1,270
Rep:
|
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.
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:53 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|