Baj Posted 23 March, 2011 Share Posted 23 March, 2011 Trying to ssh tunnel to a second server (also ssh connection) and having difficulty setting it up. Basically the client has a linux server I'm going to need to connect to in 3 or 4 different ways, namely web, ssh, mysql (not such an issue) and svn. They only allow access from a fixed IP, which I dont have. So I gave them the IP of a linux server I have, with the intention of tunnelling through that. So basically I need to find a way I can tunnel from my home connection, through my server onto theirs on 21, 80, 3306 and 3690. Ive set up squid and its http proxying fine, but now I need to set up tunnelling for the other ports. Any help appreciated Link to comment Share on other sites More sharing options...
saint_stevo Posted 24 March, 2011 Share Posted 24 March, 2011 Christ you don't ask much from a football forum??! I take it your using OpenSSH? Also, why use port 21 (FTP) when port 22 SFTP thus using SSH? Link to comment Share on other sites More sharing options...
Baj Posted 24 March, 2011 Author Share Posted 24 March, 2011 Christ you don't ask much from a football forum??! I take it your using OpenSSH? Also, why use port 21 (FTP) when port 22 SFTP thus using SSH? Sorry, my mistake, meant port 22. Yes, open ssh... any ideas? Gotta be a simple way of doing this... Link to comment Share on other sites More sharing options...
saint_stevo Posted 24 March, 2011 Share Posted 24 March, 2011 Not something i have done myself but interested nonetheless http://www.revsys.com/writings/quicktips/ssh-tunnel.html any good? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now