Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
01-06-2010, 02:28 PM
|
#16
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
That seems to just suggest you aren't that familiar with stateful tcp connections. If the connection is initiated form the SSH server, then the TCP response will match up and go back the way it came, as long as your firewall is statefully monitoring connections, which is a 99.999% certainty.
|
|
|
01-06-2010, 02:42 PM
|
#17
|
Senior Member
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013
Original Poster
Rep:
|
Quote:
Originally Posted by acid_kewpie
That seems to just suggest you aren't that familiar with stateful tcp connections. If the connection is initiated form the SSH server, then the TCP response will match up and go back the way it came, as long as your firewall is statefully monitoring connections, which is a 99.999% certainty.
|
But the developer's server might be expecting a request from port 17356.
If it comes in on the SSH server at port 22, how does the SSH server know that it needs to go out and come back in on 17356 especially if those ports are blocked?
Also, do I need a username password to connect to port 22?
I added the connection in ssh putty but it just hangs on connecting.
|
|
|
01-06-2010, 04:34 PM
|
#18
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
well DOES it expect a connection *FROM* port 17356?? It's technically possible, but very very very very unlikely. Why would they??
As in my previous comment, the tunnel settings define explicitly what destination ip ort to send the traffic to.
And yes, again, you need to log in. Wouldn't it be *massively* insecure if it were possible to reroute traffic via a server which you had not authenticated to whatsoever?? You need to FULLY log in with an SSH session with those additional parameters.
|
|
|
01-06-2010, 06:15 PM
|
#19
|
Senior Member
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013
Original Poster
Rep:
|
Quote:
Originally Posted by acid_kewpie
well DOES it expect a connection *FROM* port 17356?? It's technically possible, but very very very very unlikely. Why would they??
As in my previous comment, the tunnel settings define explicitly what destination ip ort to send the traffic to.
And yes, again, you need to log in. Wouldn't it be *massively* insecure if it were possible to reroute traffic via a server which you had not authenticated to whatsoever?? You need to FULLY log in with an SSH session with those additional parameters.
|
Ok, thanks for your patience by the way
So, I have followed this tutorial: http://www.codelathe.com/blog/index....sh-with-putty/
Now...whilst I can connect by SSH and enter a username and password, when I open up the 2nd SSH connection, it always refuses the connection.
Is there an easier way?
Could I somehow use my existing proxy server (only listening on port 80 and 8080) to tunnel all my VPN traffic through (non HTTP)?
|
|
|
01-07-2010, 12:53 AM
|
#20
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
what 2nd connection?? you use one ssh session with multiple tunnels. you can try using something like httptunnel as an alternative, sure.
|
|
|
01-07-2010, 03:13 AM
|
#21
|
Senior Member
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013
Original Poster
Rep:
|
Was just following that instruction page.
ANyway, I tries it using one putty connection and forwarding port 80 with tunnels set to auto and dynamic.
Made the connection and entered the linux password.
However, when I checked my IP address on Firefox, it still gave me the local IP address rather than the server.
|
|
|
01-07-2010, 04:12 AM
|
#22
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
you can't just randomly choose to use dynamic as opposed to explicitly settings ports, dynamic means it'll be a socks proxy as opposed to a simple tunnel. You didn't say you even set firefox to use that port as a socks proxy in the first place.
|
|
|
All times are GMT -5. The time now is 02:28 AM.
|
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
|
|