Jump to content

How-To:Port Forwarding: Difference between revisions

no edit summary
(Port forwarding through RB, linux guide)
 
No edit summary
Line 24: Line 24:


If you read the neworder guide above you should have a good idea of how to build the SSH command for the forwarding, like so:
If you read the neworder guide above you should have a good idea of how to build the SSH command for the forwarding, like so:
  ssh -L 1337:proxy.dcu.ie:8080 login.redbrick.dcu.ie
  ssh -L 1337:proxy.dcu.ie:3128 login.redbrick.dcu.ie


Where :
Where :
Line 30: Line 30:
* 1337 is the local port (on your machine) you want to communicate on.
* 1337 is the local port (on your machine) you want to communicate on.
* proxy.dcu.ie is the server you want to send your tunnelled traffic to.
* proxy.dcu.ie is the server you want to send your tunnelled traffic to.
* 8080 is the port on that server you want to send your tunnelled traffic to.
* 3128 is the port on that server you want to send your tunnelled traffic to.
* login.redbrick.dcu.ie is the server you want to open the SSH connection to
* login.redbrick.dcu.ie is the server you want to open the SSH connection to
[[Image:Tunnelling-network-diagram.png]]


For example, to tunnel local port 1337 to the SOCKS proxy on proxy3.dcu.ie through deathray:
For example, to tunnel local port 1337 to the SOCKS proxy on proxy3.dcu.ie through deathray:
45

edits